pub struct InvalidHeaderError { /* private fields */ }Expand description
An error returned when the header of a bytecode input did not meet the official ivmc bytecode header format.
Implementations§
Source§impl InvalidHeaderError
impl InvalidHeaderError
Sourcepub fn get_cause(&self) -> &InvalidHeaderCause
pub fn get_cause(&self) -> &InvalidHeaderCause
Get the cause of this error.
Sourcepub fn get_message(&self) -> &String
pub fn get_message(&self) -> &String
Get the message of this error.
pub fn new(cause: InvalidHeaderCause, message: String) -> Self
pub fn from(cause: InvalidHeaderCause, message: &str) -> Self
Auto Trait Implementations§
impl Freeze for InvalidHeaderError
impl RefUnwindSafe for InvalidHeaderError
impl Send for InvalidHeaderError
impl Sync for InvalidHeaderError
impl Unpin for InvalidHeaderError
impl UnsafeUnpin for InvalidHeaderError
impl UnwindSafe for InvalidHeaderError
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