pub enum WriteStatus {
Ready,
Shutdown,
Terminate,
}
Expand description
Status for write task
Variants§
Ready
Write task is clear to proceed with write operation
Shutdown
Initiate graceful io shutdown operation
Terminate
Immediately terminate connection
Trait Implementations§
source§impl Clone for WriteStatus
impl Clone for WriteStatus
source§fn clone(&self) -> WriteStatus
fn clone(&self) -> WriteStatus
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 WriteStatus
impl Debug for WriteStatus
source§impl Hash for WriteStatus
impl Hash for WriteStatus
source§impl PartialEq for WriteStatus
impl PartialEq for WriteStatus
impl Copy for WriteStatus
impl Eq for WriteStatus
impl StructuralPartialEq for WriteStatus
Auto Trait Implementations§
impl Freeze for WriteStatus
impl RefUnwindSafe for WriteStatus
impl Send for WriteStatus
impl Sync for WriteStatus
impl Unpin for WriteStatus
impl UnwindSafe for WriteStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)