pub enum IoWriteError {
Stopped,
NotConnected,
}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
Source§impl Display for IoWriteError
impl Display for IoWriteError
Source§impl Error for IoWriteError
impl Error for IoWriteError
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()
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