Enum ntex_io::WriteStatus
source · [−]Expand description
Status for write task
Variants
Ready
Write task is clear to proceed with write operation
Timeout(Millis)
Initiate timeout for normal write operations, shutdown connection after timeout
Shutdown(Millis)
Initiate graceful io shutdown operation with timeout
Terminate
Immediately terminate connection
Trait Implementations
sourceimpl Clone for WriteStatus
impl Clone for WriteStatus
sourcefn clone(&self) -> WriteStatus
fn clone(&self) -> WriteStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for WriteStatus
impl Debug for WriteStatus
sourceimpl Hash for WriteStatus
impl Hash for WriteStatus
sourceimpl PartialEq<WriteStatus> for WriteStatus
impl PartialEq<WriteStatus> for WriteStatus
sourcefn eq(&self, other: &WriteStatus) -> bool
fn eq(&self, other: &WriteStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WriteStatus) -> bool
fn ne(&self, other: &WriteStatus) -> bool
This method tests for !=.
impl Copy for WriteStatus
impl Eq for WriteStatus
impl StructuralEq for WriteStatus
impl StructuralPartialEq for WriteStatus
Auto Trait Implementations
impl RefUnwindSafe for WriteStatus
impl Send for WriteStatus
impl Sync for WriteStatus
impl Unpin for WriteStatus
impl UnwindSafe for WriteStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more