Enum wtransport::error::StreamReadError
source · pub enum StreamReadError {
NotConnected,
Reset(VarInt),
QuicProto,
}
Expand description
An error that arise from reading from a stream.
Variants§
NotConnected
Connection has been dropped.
Reset(VarInt)
The peer abandoned transmitting data on this stream
QuicProto
QUIC protocol error.
Trait Implementations§
source§impl Debug for StreamReadError
impl Debug for StreamReadError
source§impl Display for StreamReadError
impl Display for StreamReadError
source§impl Error for StreamReadError
impl Error for StreamReadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 StreamReadError
impl RefUnwindSafe for StreamReadError
impl Send for StreamReadError
impl Sync for StreamReadError
impl Unpin for StreamReadError
impl UnwindSafe for StreamReadError
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
source§impl<S> IntoConnectOptions for Swhere
S: ToString,
impl<S> IntoConnectOptions for Swhere
S: ToString,
source§fn into_options(self) -> ConnectOptions
fn into_options(self) -> ConnectOptions
Perform value-to-value conversion into
ConnectOptions
.