pub struct OpenOptions {
pub strictness: OpenStrictness,
pub chunk_cache_size: usize,
pub read_zero_chunk_on_error: bool,
pub header_codepage: HeaderCodepage,
pub header_values_date_format: HeaderDateFormat,
pub maximum_open_handles: Option<usize>,
}Expand description
Options that control how an image is opened and read.
Fields§
§strictness: OpenStrictnessStructural validation policy.
chunk_cache_size: usizeNumber of decoded chunks retained in the read cache.
read_zero_chunk_on_error: boolReturn zero-filled chunk data when a chunk checksum fails.
header_codepage: HeaderCodepageCodepage used to decode EWF1 header values.
header_values_date_format: HeaderDateFormatDate formatting applied when returning header date values.
maximum_open_handles: Option<usize>Maximum number of simultaneously open segment handles.
Trait Implementations§
Source§impl Clone for OpenOptions
impl Clone for OpenOptions
Source§fn clone(&self) -> OpenOptions
fn clone(&self) -> OpenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenOptions
Source§impl Debug for OpenOptions
impl Debug for OpenOptions
Source§impl Default for OpenOptions
impl Default for OpenOptions
impl Eq for OpenOptions
Source§impl PartialEq for OpenOptions
impl PartialEq for OpenOptions
Source§fn eq(&self, other: &OpenOptions) -> bool
fn eq(&self, other: &OpenOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenOptions
Auto Trait Implementations§
impl Freeze for OpenOptions
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
impl UnwindSafe for OpenOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.