pub enum WriteError {
Io(Error),
HeaderAlreadyWritten,
HeaderMissing,
OutOfRangeIdx {
idx: u32,
len: u32,
field: &'static str,
},
}Expand description
Fehler beim Schreiben.
Variants§
Io(Error)
I/O-Fehler vom Sink.
HeaderAlreadyWritten
Header bereits geschrieben — Frames duerfen folgen.
HeaderMissing
Frame ohne vorhergehendem Header.
OutOfRangeIdx
Ungueltiger Index im Frame (uebersteigt Header-Range).
Trait Implementations§
Source§impl Debug for WriteError
impl Debug for WriteError
Source§impl Display for WriteError
impl Display for WriteError
Source§impl Error for WriteError
impl Error for WriteError
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 From<Error> for WriteError
impl From<Error> for WriteError
Source§impl From<WriteError> for SessionError
impl From<WriteError> for SessionError
Source§fn from(e: WriteError) -> Self
fn from(e: WriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WriteError
impl !RefUnwindSafe for WriteError
impl Send for WriteError
impl Sync for WriteError
impl Unpin for WriteError
impl UnsafeUnpin for WriteError
impl !UnwindSafe for WriteError
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