#[non_exhaustive]pub enum LinkEvent {
Tx(Vec<u8>),
Rx(Vec<u8>),
Reset,
SlotInfo(SlotInfo),
}Expand description
One link-layer event for diagnostics, captured in both directions by
RecordingCaDevice.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tx(Vec<u8>)
Host → module: a frame the host wrote.
Rx(Vec<u8>)
Module → host: a frame the host read.
Reset
A reset() ioctl.
SlotInfo(SlotInfo)
A slot_info() ioctl and the status it returned.
Trait Implementations§
impl Eq for LinkEvent
impl StructuralPartialEq for LinkEvent
Auto Trait Implementations§
impl Forget for LinkEvent
impl Freeze for LinkEvent
impl Move for LinkEvent
impl RefUnwindSafe for LinkEvent
impl Send for LinkEventwhere
RawVecInner: Send,
impl Sync for LinkEventwhere
RawVecInner: Sync,
impl Unpin for LinkEvent
impl UnsafeUnpin for LinkEvent
impl UnwindSafe for LinkEventwhere
RawVecInner: UnwindSafe,
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