pub enum BytecodeFormatError {
Truncated,
BadMagic,
UnsupportedVersion(u16),
InvalidOpcode(u8),
InvalidTag(u8),
InvalidUtf8,
TrailingData,
}Variants§
Truncated
BadMagic
UnsupportedVersion(u16)
InvalidOpcode(u8)
InvalidTag(u8)
InvalidUtf8
TrailingData
Trait Implementations§
Source§impl Clone for BytecodeFormatError
impl Clone for BytecodeFormatError
Source§fn clone(&self) -> BytecodeFormatError
fn clone(&self) -> BytecodeFormatError
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 BytecodeFormatError
impl Debug for BytecodeFormatError
impl Eq for BytecodeFormatError
Source§impl PartialEq for BytecodeFormatError
impl PartialEq for BytecodeFormatError
impl StructuralPartialEq for BytecodeFormatError
Auto Trait Implementations§
impl Freeze for BytecodeFormatError
impl RefUnwindSafe for BytecodeFormatError
impl Send for BytecodeFormatError
impl Sync for BytecodeFormatError
impl Unpin for BytecodeFormatError
impl UnsafeUnpin for BytecodeFormatError
impl UnwindSafe for BytecodeFormatError
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