pub struct ExtensibleData {
pub fixed: ExtensibleDataFixed,
pub data: Vec<u8>,
}
Expand description
Extensible data fields
often called extra field
in above Records, they are used to store
additional information, like better file times or zip64 data.
You prob want to parse the extra_data
of a record with those in case your
program is interested in Extensible Data. According to APPNOTE.TXT, programs
that don’t understand certain headers should just ignore them.
see 4.5.1
Fields§
§fixed: ExtensibleDataFixed
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for ExtensibleData
impl Clone for ExtensibleData
Source§fn clone(&self) -> ExtensibleData
fn clone(&self) -> ExtensibleData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExtensibleData
impl Debug for ExtensibleData
Source§impl Parse for ExtensibleData
impl Parse for ExtensibleData
Source§impl ParseExtend for ExtensibleData
impl ParseExtend for ExtensibleData
type Error = DynamicSizeError
type Fixed = ExtensibleDataFixed
Source§impl PartialEq for ExtensibleData
impl PartialEq for ExtensibleData
Source§impl PartialRecord for ExtensibleData
impl PartialRecord for ExtensibleData
type Partial = ExtensibleDataFixed
fn get_partial(&self) -> &Self::Partial
Source§fn is_valid_sizes(&self) -> bool
fn is_valid_sizes(&self) -> bool
all dynamic records contain dynamic data and length information in the
fixed part. Verify if those 2 values are matching
impl StructuralPartialEq for ExtensibleData
Auto Trait Implementations§
impl Freeze for ExtensibleData
impl RefUnwindSafe for ExtensibleData
impl Send for ExtensibleData
impl Sync for ExtensibleData
impl Unpin for ExtensibleData
impl UnwindSafe for ExtensibleData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more