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