pub struct BusyStatus {
pub event: Option<BusyEvent>,
pub state: BusyState,
pub busy_time: Option<Duration>,
}Available on crate feature
mmc only.Expand description
Used to notify the host of commands that are executing but require an abnormally long time to complete.
Fields§
§event: Option<BusyEvent>Most recent device busy event on the device
state: BusyStateCurrent busy state of the device
busy_time: Option<Duration>Predicted amount of time remaining for the device to become not busy if the drive is currently busy.
Trait Implementations§
Source§impl Clone for BusyStatus
impl Clone for BusyStatus
Source§fn clone(&self) -> BusyStatus
fn clone(&self) -> BusyStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BusyStatus
Source§impl Debug for BusyStatus
impl Debug for BusyStatus
impl Eq for BusyStatus
Source§impl Hash for BusyStatus
impl Hash for BusyStatus
Source§impl Ord for BusyStatus
impl Ord for BusyStatus
Source§fn cmp(&self, other: &BusyStatus) -> Ordering
fn cmp(&self, other: &BusyStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BusyStatus
impl PartialEq for BusyStatus
Source§impl PartialOrd for BusyStatus
impl PartialOrd for BusyStatus
impl StructuralPartialEq for BusyStatus
Auto Trait Implementations§
impl Freeze for BusyStatus
impl RefUnwindSafe for BusyStatus
impl Send for BusyStatus
impl Sync for BusyStatus
impl Unpin for BusyStatus
impl UnsafeUnpin for BusyStatus
impl UnwindSafe for BusyStatus
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