Revision control
Copy as Markdown
Other Tools
//! types for extra fields
/// marker trait to denote the place where this extra field has been stored
pub trait ExtraFieldVersion {}
/// use this to mark extra fields specified in a local header
#[derive(Debug, Clone)]
pub struct LocalHeaderVersion;
/// use this to mark extra fields specified in the central header
#[derive(Debug, Clone)]
pub struct CentralHeaderVersion;
impl ExtraFieldVersion for LocalHeaderVersion {}
impl ExtraFieldVersion for CentralHeaderVersion {}
mod extended_timestamp;
mod zipinfo_utf8;
pub use extended_timestamp::*;
pub use zipinfo_utf8::*;
/// contains one extra field
#[derive(Debug, Clone)]
pub enum ExtraField {
ExtendedTimestamp(ExtendedTimestamp),
}