pub enum Options {
IgnoreEndMagic,
}
Expand description
Nonstandard reading options, e.g., to be more lenient when trying to recover incomplete/damaged files.
More may be added in future releases.
Variants§
IgnoreEndMagic
Don’t require the MCAP file to end with its magic bytes.
Trait Implementations§
source§impl EnumSetTypePrivate for Options
impl EnumSetTypePrivate for Options
source§const ALL_BITS: Self::Repr = {transmute(0x01): <read::Options as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x01): <read::Options as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§const VARIANT_COUNT: u32 = 1u32
const VARIANT_COUNT: u32 = 1u32
The number of variants in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§impl PartialEq<EnumSet<Options>> for Options
impl PartialEq<EnumSet<Options>> for Options
source§impl PartialEq for Options
impl PartialEq for Options
impl Copy for Options
impl EnumSetType for Options
impl Eq for Options
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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