pub enum FramerError {
Wire(WireError),
Transport(TransportError),
}Expand description
Errors from the framing layer.
Variants§
Wire(WireError)
Transport(TransportError)
Trait Implementations§
Source§impl Debug for FramerError
impl Debug for FramerError
Source§impl Display for FramerError
impl Display for FramerError
Source§impl Error for FramerError
impl Error for FramerError
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 FramerError
impl RefUnwindSafe for FramerError
impl Send for FramerError
impl Sync for FramerError
impl Unpin for FramerError
impl UnsafeUnpin for FramerError
impl UnwindSafe for FramerError
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