pub enum Event {
None,
CommandComplete,
TransferComplete,
ReceiveReady,
TransmitReady,
Error {
raw_status: u32,
},
Other {
raw_status: u32,
},
}Expand description
Stable controller event extracted from DW_mshc raw interrupt status.
Variants§
None
No status bit requiring runtime action is currently pending.
CommandComplete
A command response has completed.
TransferComplete
A data transfer has completed.
ReceiveReady
Receive FIFO can be drained.
TransmitReady
Transmit FIFO can accept more data.
Error
One or more controller error bits are pending.
Other
Status bits are pending but do not map to a high-level event yet.
Trait Implementations§
impl Copy for Event
impl Eq for Event
Source§impl HostEvent for Event
impl HostEvent for Event
fn kind(&self) -> HostEventKind
fn source(&self) -> HostEventSource
fn queue_id(&self) -> Option<BlockRequestId>
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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