pub enum FrameWriteError {
BufferTooSmall,
InvalidData(String),
BadWrite(String),
}
Variants§
Trait Implementations§
Source§impl Debug for FrameWriteError
impl Debug for FrameWriteError
Source§impl Display for FrameWriteError
impl Display for FrameWriteError
Source§impl Error for FrameWriteError
impl Error for FrameWriteError
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<BufferTooSmall> for FrameWriteError
impl From<BufferTooSmall> for FrameWriteError
Source§fn from(_error: BufferTooSmall) -> Self
fn from(_error: BufferTooSmall) -> Self
Converts to this type from the input type.
Source§impl From<Status> for FrameWriteError
impl From<Status> for FrameWriteError
Source§impl PartialEq for FrameWriteError
impl PartialEq for FrameWriteError
impl Eq for FrameWriteError
impl StructuralPartialEq for FrameWriteError
Auto Trait Implementations§
impl Freeze for FrameWriteError
impl RefUnwindSafe for FrameWriteError
impl Send for FrameWriteError
impl Sync for FrameWriteError
impl Unpin for FrameWriteError
impl UnwindSafe for FrameWriteError
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