pub struct FileHeaderParser;Implementations§
Source§impl FileHeaderParser
impl FileHeaderParser
Sourcepub const HEADER_SIZE: usize = 280
pub const HEADER_SIZE: usize = 280
Maximum header size to read (includes variable-length filename).
pub fn parse(buffer: &[u8]) -> Result<FileHeader>
Auto Trait Implementations§
impl Freeze for FileHeaderParser
impl RefUnwindSafe for FileHeaderParser
impl Send for FileHeaderParser
impl Sync for FileHeaderParser
impl Unpin for FileHeaderParser
impl UnsafeUnpin for FileHeaderParser
impl UnwindSafe for FileHeaderParser
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