pub enum WriteAllError<E> {
Io(E),
WriteZero,
}Expand description
An error returned from AsyncWriteExt::write_all.
Variants§
Trait Implementations§
Source§impl<E: Clone> Clone for WriteAllError<E>
impl<E: Clone> Clone for WriteAllError<E>
impl<E: Copy> Copy for WriteAllError<E>
Source§impl<E: Debug> Debug for WriteAllError<E>
impl<E: Debug> Debug for WriteAllError<E>
Source§impl<E: Display> Display for WriteAllError<E>
impl<E: Display> Display for WriteAllError<E>
impl<E: Eq> Eq for WriteAllError<E>
Source§impl<E: Error> Error for WriteAllError<E>
impl<E: Error> Error for WriteAllError<E>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<E: PartialEq> PartialEq for WriteAllError<E>
impl<E: PartialEq> PartialEq for WriteAllError<E>
impl<E: PartialEq> StructuralPartialEq for WriteAllError<E>
Auto Trait Implementations§
impl<E> Forget for WriteAllError<E>
impl<E> Freeze for WriteAllError<E>where
E: Freeze,
impl<E> Move for WriteAllError<E>
impl<E> RefUnwindSafe for WriteAllError<E>where
E: RefUnwindSafe,
impl<E> Send for WriteAllError<E>where
E: Send,
impl<E> Sync for WriteAllError<E>where
E: Sync,
impl<E> Unpin for WriteAllError<E>where
E: Unpin,
impl<E> UnsafeUnpin for WriteAllError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for WriteAllError<E>where
E: UnwindSafe,
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