Enum libp2p_request_response::OutboundFailure[][src]

pub enum OutboundFailure {
    DialFailure,
    Timeout,
    ConnectionClosed,
    UnsupportedProtocols,
}

Possible failures occurring in the context of sending an outbound request and receiving the response.

Variants

DialFailure

The request could not be sent because a dialing attempt failed.

Timeout

The request timed out before a response was received.

It is not known whether the request may have been received (and processed) by the remote peer.

ConnectionClosed

The connection closed before a response was received.

It is not known whether the request may have been received (and processed) by the remote peer.

UnsupportedProtocols

The remote supports none of the requested protocols.

Trait Implementations

impl Clone for OutboundFailure[src]

impl Debug for OutboundFailure[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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>,