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: StreamErrorTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.