#[repr(u8)]pub enum KexFail {
Key = 1,
Scheme = 2,
Curves = 3,
Decrypt = 5,
Cancel = 6,
Auth = 7,
KeyGet = 8,
KeyVerify = 9,
KeyReport = 10,
}Expand description
Why a key exchange was aborted (the KEX Fail command’s payload).
Variants§
Key = 1
No supported key is requested or granted.
Scheme = 2
No supported KEX scheme.
Curves = 3
No supported ECDH curve.
Decrypt = 5
A frame could not be decrypted with the temporary key.
Cancel = 6
The user or the controller cancelled.
Auth = 7
The echoed KEX Set/Report did not match.
KeyGet = 8
A key was requested that was not granted.
KeyVerify = 9
The Network Key Verify did not decrypt.
KeyReport = 10
The Network Key Report was not valid.
Implementations§
Trait Implementations§
impl Copy for KexFail
impl Eq for KexFail
impl StructuralPartialEq for KexFail
Auto Trait Implementations§
impl Freeze for KexFail
impl RefUnwindSafe for KexFail
impl Send for KexFail
impl Sync for KexFail
impl Unpin for KexFail
impl UnsafeUnpin for KexFail
impl UnwindSafe for KexFail
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