Enum mini_io_queue::asyncio::WriteError
source · [−]pub enum WriteError {
ReaderClosed,
}
Available on crate feature
asyncio
only.Expand description
An error indicating why a writer failed.
Variants
ReaderClosed
Writing failed because the reader was closed, preventing the read buffer from emptying.
Trait Implementations
sourceimpl Clone for WriteError
impl Clone for WriteError
sourcefn clone(&self) -> WriteError
fn clone(&self) -> WriteError
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 WriteError
impl Debug for WriteError
sourceimpl Display for WriteError
impl Display for WriteError
sourceimpl Error for WriteError
Available on crate feature std
only.
impl Error for WriteError
Available on crate feature
std
only.1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<WriteError> for Error
Available on crate feature std
only.
impl From<WriteError> for Error
Available on crate feature
std
only.sourcefn from(err: WriteError) -> Self
fn from(err: WriteError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WriteError> for WriteError
impl PartialEq<WriteError> for WriteError
sourcefn eq(&self, other: &WriteError) -> bool
fn eq(&self, other: &WriteError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for WriteError
impl Eq for WriteError
impl StructuralEq for WriteError
impl StructuralPartialEq for WriteError
Auto Trait Implementations
impl RefUnwindSafe for WriteError
impl Send for WriteError
impl Sync for WriteError
impl Unpin for WriteError
impl UnwindSafe for WriteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more