pub enum DownReason {
NcpReset {
code: u8,
},
NcpError {
code: u8,
},
AckTimeouts,
ResetTimeout,
BadVersion(u8),
}Expand description
Why the link went down.
Variants§
NcpReset
The NCP reset while connected (RSTACK out of the blue).
NcpError
The NCP sent ERROR.
AckTimeouts
Too many DATA frames went unacknowledged.
ResetTimeout
No RSTACK after every RST attempt.
BadVersion(u8)
The peer speaks another ASH version.
Trait Implementations§
Source§impl Clone for DownReason
impl Clone for DownReason
impl Copy for DownReason
Source§impl Debug for DownReason
impl Debug for DownReason
impl Eq for DownReason
Source§impl PartialEq for DownReason
impl PartialEq for DownReason
impl StructuralPartialEq for DownReason
Auto Trait Implementations§
impl Freeze for DownReason
impl RefUnwindSafe for DownReason
impl Send for DownReason
impl Sync for DownReason
impl Unpin for DownReason
impl UnsafeUnpin for DownReason
impl UnwindSafe for DownReason
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