pub enum Kind {
InvalidNonce,
InvalidField(Field),
ExpectedField(Field),
}Expand description
The kinds of protocol errors.
Variants§
InvalidNonce
The server responded with a nonce that doesn’t start with our nonce.
InvalidField(Field)
The content of the field Field is invalid.
ExpectedField(Field)
The field Field was expected but not found.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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