pub enum RpcRequestDecodeError {
Show 13 variants
MessagePack,
TrailingData,
ExpectedMap,
ExpectedStringKey,
DuplicateField(String),
UnknownField(String),
MissingOperation,
ContradictoryOperation,
MissingField(&'static str),
UnexpectedField(&'static str),
InvalidFieldType(&'static str),
InvalidHashLength {
field: &'static str,
expected: usize,
actual: usize,
},
UnknownOperation {
selector: &'static str,
operation: String,
},
}Variants§
MessagePack
TrailingData
ExpectedMap
ExpectedStringKey
DuplicateField(String)
UnknownField(String)
MissingOperation
ContradictoryOperation
MissingField(&'static str)
UnexpectedField(&'static str)
InvalidFieldType(&'static str)
InvalidHashLength
UnknownOperation
Trait Implementations§
Source§impl Debug for RpcRequestDecodeError
impl Debug for RpcRequestDecodeError
impl Eq for RpcRequestDecodeError
Source§impl PartialEq for RpcRequestDecodeError
impl PartialEq for RpcRequestDecodeError
impl StructuralPartialEq for RpcRequestDecodeError
Auto Trait Implementations§
impl Freeze for RpcRequestDecodeError
impl RefUnwindSafe for RpcRequestDecodeError
impl Send for RpcRequestDecodeError
impl Sync for RpcRequestDecodeError
impl Unpin for RpcRequestDecodeError
impl UnsafeUnpin for RpcRequestDecodeError
impl UnwindSafe for RpcRequestDecodeError
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