pub enum EpeeError {
InvalidHeader,
Short(usize),
UnrecognizedType,
ArrayWhenUnit,
TrailingBytes(usize),
DepthLimitExceeded,
}Expand description
An error incurred when decoding.
Variants§
InvalidHeader
The epee-encoded blob did not have the expected header.
Short(usize)
The epee-encoded blob was short, as discovered when trying to read {0} bytes.
UnrecognizedType
Unrecognized type specified.
ArrayWhenUnit
Array found when a unit was expected.
TrailingBytes(usize)
The epee-encoded blob had {0} trailing bytes.
DepthLimitExceeded
The depth limit was exceeded.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EpeeError
impl RefUnwindSafe for EpeeError
impl Send for EpeeError
impl Sync for EpeeError
impl Unpin for EpeeError
impl UnwindSafe for EpeeError
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