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§
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 Freeze for LinkEvent
impl RefUnwindSafe for LinkEvent
impl Send for LinkEvent
impl Sync for LinkEvent
impl Unpin for LinkEvent
impl UnsafeUnpin for LinkEvent
impl UnwindSafe for LinkEvent
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