pub enum WriterState {
Uninitialized,
Ready,
Writing,
Complete,
Failed,
}Expand description
Writer state
Variants§
Uninitialized
Not initialized
Ready
Ready to receive data
Writing
Currently writing
Complete
Completed successfully
Failed
Error state
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