pub enum WriteFrameError {
IO(Error),
FrameTooLong {
length: usize,
max_allowed_frame_length: usize,
},
}Expand description
An error which occured while trying to write a frame to a
FramedWriter.
Variants§
Trait Implementations§
Source§impl Debug for WriteFrameError
impl Debug for WriteFrameError
Source§impl Display for WriteFrameError
impl Display for WriteFrameError
Source§impl Error for WriteFrameError
impl Error for WriteFrameError
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 WriteFrameError
impl !RefUnwindSafe for WriteFrameError
impl Send for WriteFrameError
impl Sync for WriteFrameError
impl Unpin for WriteFrameError
impl UnsafeUnpin for WriteFrameError
impl !UnwindSafe for WriteFrameError
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