pub enum StreamWriteError {
NotConnected,
Closed,
Stopped(VarInt),
QuicProto,
}Expand description
An error that arise from writing to a stream.
Variants§
NotConnected
Connection has been dropped.
Closed
The stream was already finished or reset locally.
Stopped(VarInt)
The peer is no longer accepting data on this stream.
QuicProto
QUIC protocol error.
Trait Implementations§
Source§impl Clone for StreamWriteError
impl Clone for StreamWriteError
Source§fn clone(&self) -> StreamWriteError
fn clone(&self) -> StreamWriteError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamWriteError
impl Debug for StreamWriteError
Source§impl Display for StreamWriteError
impl Display for StreamWriteError
Source§impl Error for StreamWriteError
impl Error for StreamWriteError
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<WriteError> for StreamWriteError
impl From<WriteError> for StreamWriteError
Source§fn from(error: WriteError) -> Self
fn from(error: WriteError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamWriteError
impl PartialEq for StreamWriteError
impl Eq for StreamWriteError
impl StructuralPartialEq for StreamWriteError
Auto Trait Implementations§
impl Freeze for StreamWriteError
impl RefUnwindSafe for StreamWriteError
impl Send for StreamWriteError
impl Sync for StreamWriteError
impl Unpin for StreamWriteError
impl UnwindSafe for StreamWriteError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.