pub enum IoWriteError {
Stopped,
NotConnected,
}Available on crate feature
async only.Expand description
Error during write operation.
Variants§
Stopped
Write failed because peer stopped operation.
In this case, zero or more bytes might be have written during the operation.
NotConnected
Write failed because peer not is not connected.
In this case, zero or more bytes might be have written during the operation.
Trait Implementations§
Source§impl Debug for IoWriteError
impl Debug for IoWriteError
Auto Trait Implementations§
impl Freeze for IoWriteError
impl RefUnwindSafe for IoWriteError
impl Send for IoWriteError
impl Sync for IoWriteError
impl Unpin for IoWriteError
impl UnwindSafe for IoWriteError
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