#[non_exhaustive]pub enum Context {
None,
Start,
ConstantPool,
ClassInfo,
Interfaces,
Fields,
Methods,
Attributes,
AttributeContent,
Code,
}
Expand description
The context in which a error occurred in.
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.
None
No context.
Start
Either the 0xCAFEBABE
prefix or the major and minor versions.
ConstantPool
ClassInfo
Interfaces
Fields
Methods
Attributes
AttributeContent
Code
Trait Implementations§
source§impl PartialEq for Context
impl PartialEq for Context
impl Copy for Context
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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<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.