pub enum WriterState {
Init,
Ready,
Writing,
Flushing,
Done,
Failed,
}Expand description
Disk writer state.
Variants§
Init
Initial state, not yet started.
Ready
Ready to accept writes.
Writing
Writing data (may have pending writes).
Flushing
All writes submitted, waiting for completions.
Done
All writes completed successfully.
Failed
Write failed.
Trait Implementations§
Source§impl Clone for WriterState
impl Clone for WriterState
Source§fn clone(&self) -> WriterState
fn clone(&self) -> WriterState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriterState
impl Debug for WriterState
Source§impl PartialEq for WriterState
impl PartialEq for WriterState
impl Copy for WriterState
impl Eq for WriterState
impl StructuralPartialEq for WriterState
Auto Trait Implementations§
impl Freeze for WriterState
impl RefUnwindSafe for WriterState
impl Send for WriterState
impl Sync for WriterState
impl Unpin for WriterState
impl UnwindSafe for WriterState
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