pub enum WriterError {
WriteZero,
}Expand description
The error returned by IO write calls to a Writer.
Variants§
WriteZero
The writer has no more space left.
Trait Implementations§
Source§impl Clone for WriterError
impl Clone for WriterError
Source§fn clone(&self) -> WriterError
fn clone(&self) -> WriterError
Returns a duplicate 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 WriterError
impl Debug for WriterError
Source§impl IoError for WriterError
impl IoError for WriterError
Source§fn should_retry(&self) -> bool
fn should_retry(&self) -> bool
Checks whether the given error indicates that the operation should be retried.
Source§impl WriteError for WriterError
impl WriteError for WriterError
Source§fn write_zero() -> Self
fn write_zero() -> Self
Create a new error that indicates zero written bytes when writing.
impl Copy for WriterError
Auto Trait Implementations§
impl Freeze for WriterError
impl RefUnwindSafe for WriterError
impl Send for WriterError
impl Sync for WriterError
impl Unpin for WriterError
impl UnwindSafe for WriterError
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