pub enum HotPatchDecodeError {
Truncated,
InvalidMagic,
UnsupportedVersion(u8),
UnknownVariant(u8),
InvalidBool(u8),
InvalidUtf8,
LimitExceeded,
TrailingBytes(usize),
}Expand description
Error returned when decoding a binary NV_HOT_PATCH HotPatchMsg frame.
Variants§
Truncated
InvalidMagic
UnsupportedVersion(u8)
UnknownVariant(u8)
InvalidBool(u8)
InvalidUtf8
LimitExceeded
TrailingBytes(usize)
Trait Implementations§
Source§impl Clone for HotPatchDecodeError
impl Clone for HotPatchDecodeError
Source§impl Debug for HotPatchDecodeError
impl Debug for HotPatchDecodeError
Source§impl Display for HotPatchDecodeError
impl Display for HotPatchDecodeError
impl Eq for HotPatchDecodeError
Source§impl Error for HotPatchDecodeError
impl Error for HotPatchDecodeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CodecError> for HotPatchDecodeError
impl From<CodecError> for HotPatchDecodeError
Source§fn from(err: CodecError) -> Self
fn from(err: CodecError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HotPatchDecodeError
impl PartialEq for HotPatchDecodeError
impl StructuralPartialEq for HotPatchDecodeError
Auto Trait Implementations§
impl Forget for HotPatchDecodeError
impl Freeze for HotPatchDecodeError
impl Move for HotPatchDecodeError
impl RefUnwindSafe for HotPatchDecodeError
impl Send for HotPatchDecodeError
impl Sync for HotPatchDecodeError
impl Unpin for HotPatchDecodeError
impl UnsafeUnpin for HotPatchDecodeError
impl UnwindSafe for HotPatchDecodeError
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