Enum libp2p::request_response::OutboundFailure [−][src]
pub enum OutboundFailure {
DialFailure,
Timeout,
ConnectionClosed,
UnsupportedProtocols,
}Expand description
Possible failures occurring in the context of sending an outbound request and receiving the response.
Variants
The request could not be sent because a dialing attempt failed.
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.
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.
The remote supports none of the requested protocols.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutboundFailureimpl Send for OutboundFailureimpl Sync for OutboundFailureimpl Unpin for OutboundFailureimpl UnwindSafe for OutboundFailureBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V