pub enum IdentifyOutcome<'a> {
Match {
layout: &'a LayoutManifest,
header: DecodedHeader,
data_len: usize,
size_mismatch: bool,
},
NoMatch {
header: DecodedHeader,
data_len: usize,
},
HeaderTooShort {
data_len: usize,
},
}Expand description
Structured identification result.
Match means the manifest contains a layout whose (disc, layout_id)
matches the data’s Hopper header. NoMatch means none did.
Variants§
Trait Implementations§
Source§impl<'a> Clone for IdentifyOutcome<'a>
impl<'a> Clone for IdentifyOutcome<'a>
Source§fn clone(&self) -> IdentifyOutcome<'a>
fn clone(&self) -> IdentifyOutcome<'a>
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 moreSource§impl<'a> Debug for IdentifyOutcome<'a>
impl<'a> Debug for IdentifyOutcome<'a>
impl<'a> Copy for IdentifyOutcome<'a>
Auto Trait Implementations§
impl<'a> Freeze for IdentifyOutcome<'a>
impl<'a> RefUnwindSafe for IdentifyOutcome<'a>
impl<'a> Send for IdentifyOutcome<'a>
impl<'a> Sync for IdentifyOutcome<'a>
impl<'a> Unpin for IdentifyOutcome<'a>
impl<'a> UnsafeUnpin for IdentifyOutcome<'a>
impl<'a> UnwindSafe for IdentifyOutcome<'a>
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