Enum quinn_proto::WriteError[][src]

pub enum WriteError {
    Blocked,
    Stopped(VarInt),
    UnknownStream,
}

Errors triggered while writing to a send stream

Variants

Blocked

The peer is not able to accept additional data, or the connection is congested.

If the peer issues additional flow control credit, a StreamEvent::Writable event will be generated, indicating that retrying the write might succeed.

Stopped(VarInt)

The peer is no longer accepting data on this stream, and it has been implicitly reset. The stream cannot be finished or further written to.

Carries an application-defined error code.

UnknownStream

The stream has not been opened or has already been finished or reset

Trait Implementations

impl Clone for WriteError[src]

impl Debug for WriteError[src]

impl Display for WriteError[src]

impl Eq for WriteError[src]

impl Error for WriteError[src]

impl Hash for WriteError[src]

impl Ord for WriteError[src]

impl PartialEq<WriteError> for WriteError[src]

impl PartialOrd<WriteError> for WriteError[src]

impl StructuralEq for WriteError[src]

impl StructuralPartialEq for WriteError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,