#[non_exhaustive]pub enum ContextFrame {
FatArchitecture {
index: usize,
},
LoadCommand {
index: usize,
},
Operation {
name: &'static str,
},
}Expand description
Ordered structural context retained while errors cross parser boundaries.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FatArchitecture
A fat-container architecture table entry. The FatArchitecture field.
LoadCommand
A load command within one Mach-O image. The LoadCommand field.
Operation
A named parsing operation. The Operation field.
Trait Implementations§
Source§impl Clone for ContextFrame
impl Clone for ContextFrame
Source§fn clone(&self) -> ContextFrame
fn clone(&self) -> ContextFrame
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 Debug for ContextFrame
impl Debug for ContextFrame
impl Eq for ContextFrame
Source§impl PartialEq for ContextFrame
impl PartialEq for ContextFrame
impl StructuralPartialEq for ContextFrame
Auto Trait Implementations§
impl Freeze for ContextFrame
impl RefUnwindSafe for ContextFrame
impl Send for ContextFrame
impl Sync for ContextFrame
impl Unpin for ContextFrame
impl UnsafeUnpin for ContextFrame
impl UnwindSafe for ContextFrame
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