Struct webtransport_quinn::StreamClosed
source · pub struct StreamClosed;
Expand description
An error indicating the stream was already closed. Same as quinn::UnknownStream
but a less confusing name.
Trait Implementations§
source§impl Clone for StreamClosed
impl Clone for StreamClosed
source§fn clone(&self) -> StreamClosed
fn clone(&self) -> StreamClosed
Returns a copy 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 StreamClosed
impl Debug for StreamClosed
source§impl Display for StreamClosed
impl Display for StreamClosed
source§impl Error for StreamClosed
impl Error for StreamClosed
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()
source§impl From<UnknownStream> for StreamClosed
impl From<UnknownStream> for StreamClosed
source§fn from(_: UnknownStream) -> Self
fn from(_: UnknownStream) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StreamClosed
impl RefUnwindSafe for StreamClosed
impl Send for StreamClosed
impl Sync for StreamClosed
impl Unpin for StreamClosed
impl UnwindSafe for StreamClosed
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