pub enum ReadOpenError {
Io(Error),
FrameTooLarge(u32),
Decode(Error<Error>),
}Expand description
Errors surfaced while reading the opener frame from a relay stream.
Variants§
Io(Error)
Underlying transport I/O failure.
FrameTooLarge(u32)
The claimed frame length exceeds MAX_OPEN_FRAME_SIZE.
Decode(Error<Error>)
CBOR decode of the opener frame failed.
Trait Implementations§
Source§impl Debug for ReadOpenError
impl Debug for ReadOpenError
Source§impl Display for ReadOpenError
impl Display for ReadOpenError
Source§impl Error for ReadOpenError
impl Error for ReadOpenError
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 !RefUnwindSafe for ReadOpenError
impl !UnwindSafe for ReadOpenError
impl Freeze for ReadOpenError
impl Send for ReadOpenError
impl Sync for ReadOpenError
impl Unpin for ReadOpenError
impl UnsafeUnpin for ReadOpenError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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