pub enum RequestState {
Queued,
Active {
received: u32,
},
Finished(Completion),
Unknown,
}Expand description
Where a request is in its life.
Variants§
Queued
Waiting behind other requests, or for the drive to be handed back.
Active
The drive is working on it; received sectors have landed.
Fields
§
received: u32Sectors stored so far.
Finished(Completion)
It ended. Results of the last RECENT_RESULTS
requests are kept.
Unknown
Not queued, not active, and no longer remembered (or never submitted).
Trait Implementations§
Source§impl Clone for RequestState
impl Clone for RequestState
Source§fn clone(&self) -> RequestState
fn clone(&self) -> RequestState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestState
impl Debug for RequestState
Source§impl PartialEq for RequestState
impl PartialEq for RequestState
impl Copy for RequestState
impl Eq for RequestState
impl StructuralPartialEq for RequestState
Auto Trait Implementations§
impl Freeze for RequestState
impl RefUnwindSafe for RequestState
impl Send for RequestState
impl Sync for RequestState
impl Unpin for RequestState
impl UnsafeUnpin for RequestState
impl UnwindSafe for RequestState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)