pub enum ClassFormatErr {
Show 16 variants
IllegalClassFlags(ClassFlags),
Cursor(CursorError),
WrongMagic(u32),
TrailingBytes,
UnknownTag(u8),
TypeError(u16, String, String),
ConstantNotFound(u16),
UnknownStackFrameType(u8),
UnknownAttribute(String),
AttributeIsNotShared(String),
InvalidMethodHandleKind(u8),
Signature(SignatureErr),
MethodDescriptor(MethodDescriptorErr),
Instruction(InstructionErr),
TypeDescriptor(TypeDescriptorErr),
Format(Error),
}Variants§
IllegalClassFlags(ClassFlags)
Cursor(CursorError)
WrongMagic(u32)
TrailingBytes
UnknownTag(u8)
TypeError(u16, String, String)
First u16 is index, second is expected type, third is actual type
ConstantNotFound(u16)
UnknownStackFrameType(u8)
UnknownAttribute(String)
InvalidMethodHandleKind(u8)
Signature(SignatureErr)
MethodDescriptor(MethodDescriptorErr)
Instruction(InstructionErr)
TypeDescriptor(TypeDescriptorErr)
Format(Error)
Trait Implementations§
Source§impl Clone for ClassFormatErr
impl Clone for ClassFormatErr
Source§impl Debug for ClassFormatErr
impl Debug for ClassFormatErr
Source§impl Display for ClassFormatErr
impl Display for ClassFormatErr
impl Eq for ClassFormatErr
Source§impl From<CursorError> for ClassFormatErr
impl From<CursorError> for ClassFormatErr
Source§fn from(value: CursorError) -> Self
fn from(value: CursorError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ClassFormatErr
impl From<Error> for ClassFormatErr
Source§impl From<InstructionErr> for ClassFormatErr
impl From<InstructionErr> for ClassFormatErr
Source§fn from(value: InstructionErr) -> Self
fn from(value: InstructionErr) -> Self
Converts to this type from the input type.
Source§impl From<MethodDescriptorErr> for ClassFormatErr
impl From<MethodDescriptorErr> for ClassFormatErr
Source§fn from(value: MethodDescriptorErr) -> Self
fn from(value: MethodDescriptorErr) -> Self
Converts to this type from the input type.
Source§impl From<SignatureErr> for ClassFormatErr
impl From<SignatureErr> for ClassFormatErr
Source§fn from(value: SignatureErr) -> Self
fn from(value: SignatureErr) -> Self
Converts to this type from the input type.
Source§impl From<TypeDescriptorErr> for ClassFormatErr
impl From<TypeDescriptorErr> for ClassFormatErr
Source§fn from(value: TypeDescriptorErr) -> Self
fn from(value: TypeDescriptorErr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClassFormatErr
impl PartialEq for ClassFormatErr
impl StructuralPartialEq for ClassFormatErr
Auto Trait Implementations§
impl Freeze for ClassFormatErr
impl RefUnwindSafe for ClassFormatErr
impl Send for ClassFormatErr
impl Sync for ClassFormatErr
impl Unpin for ClassFormatErr
impl UnsafeUnpin for ClassFormatErr
impl UnwindSafe for ClassFormatErr
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