Enum h3_quinn::SendStreamError
source · pub enum SendStreamError {
Write(WriteError),
NotReady,
StreamClosed(ClosedStream),
}
Expand description
The error type for SendStream
Wraps errors that can happen writing to or polling a send stream.
Variants§
Write(WriteError)
Errors when writing, wrapping a quinn::WriteError
NotReady
Error when the stream is not ready, because it is still sending data from a previous call
StreamClosed(ClosedStream)
Error when the stream is closed
Trait Implementations§
source§impl Debug for SendStreamError
impl Debug for SendStreamError
source§impl Display for SendStreamError
impl Display for SendStreamError
source§impl Error for SendStreamError
impl Error for SendStreamError
source§impl Error for SendStreamError
impl Error for SendStreamError
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<ClosedStream> for SendStreamError
impl From<ClosedStream> for SendStreamError
source§fn from(value: ClosedStream) -> Self
fn from(value: ClosedStream) -> Self
Converts to this type from the input type.
source§impl From<SendStreamError> for Arc<dyn Error>
impl From<SendStreamError> for Arc<dyn Error>
source§fn from(e: SendStreamError) -> Self
fn from(e: SendStreamError) -> Self
Converts to this type from the input type.
source§impl From<SendStreamError> for Error
impl From<SendStreamError> for Error
source§fn from(value: SendStreamError) -> Self
fn from(value: SendStreamError) -> Self
Converts to this type from the input type.
source§impl From<WriteError> for SendStreamError
impl From<WriteError> for SendStreamError
source§fn from(e: WriteError) -> Self
fn from(e: WriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SendStreamError
impl RefUnwindSafe for SendStreamError
impl Send for SendStreamError
impl Sync for SendStreamError
impl Unpin for SendStreamError
impl UnwindSafe for SendStreamError
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