Enum qp2p::RecvError [−][src]
pub enum RecvError {
Serialization(SerializationError),
ConnectionLost(ConnectionError),
StreamLost(StreamError),
}
Expand description
Errors that can occur when receiving messages.
Variants
Serialization(SerializationError)
Failed to deserialize message.
Tuple Fields of Serialization
ConnectionLost(ConnectionError)
Connection was lost when trying to receive a message.
Tuple Fields of ConnectionLost
StreamLost(StreamError)
Stream was lost when trying to receive a message.
Tuple Fields of StreamLost
0: StreamError
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RecvError
impl !UnwindSafe for RecvError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more