pub struct HeaderReaderOptions {
pub checksum_seed: u32,
pub verify_checksum: bool,
}Fields§
§checksum_seed: u32§verify_checksum: boolImplementations§
Source§impl HeaderReaderOptions
impl HeaderReaderOptions
pub fn new() -> Self
pub fn checksum_seed(self, seed: u32) -> Self
pub fn verify_checksum(self, verify: bool) -> Self
Trait Implementations§
Source§impl Clone for HeaderReaderOptions
impl Clone for HeaderReaderOptions
Source§fn clone(&self) -> HeaderReaderOptions
fn clone(&self) -> HeaderReaderOptions
Returns a duplicate 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 HeaderReaderOptions
impl Debug for HeaderReaderOptions
Source§impl Default for HeaderReaderOptions
impl Default for HeaderReaderOptions
Source§fn default() -> HeaderReaderOptions
fn default() -> HeaderReaderOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for HeaderReaderOptions
impl PartialEq for HeaderReaderOptions
impl Copy for HeaderReaderOptions
impl StructuralPartialEq for HeaderReaderOptions
Auto Trait Implementations§
impl Freeze for HeaderReaderOptions
impl RefUnwindSafe for HeaderReaderOptions
impl Send for HeaderReaderOptions
impl Sync for HeaderReaderOptions
impl Unpin for HeaderReaderOptions
impl UnwindSafe for HeaderReaderOptions
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