pub enum Event {
None,
CommandComplete,
TransferComplete,
Error {
normal: u16,
error: u16,
},
Other {
normal: u16,
error: u16,
},
}Expand description
Stable controller event extracted from SDHCI interrupt-status registers.
Variants§
None
No status bit requiring runtime action is currently pending.
CommandComplete
A command response is ready to harvest.
TransferComplete
A data transfer has completed.
Error
One or more 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