Enum libp2p::floodsub::protocol::FloodsubDecodeError [−][src]
pub enum FloodsubDecodeError { ReadError(ReadOneError), ProtobufError(DecodeError), InvalidPeerId, }
Reach attempt interrupt errors.
Variants
ReadError(ReadOneError)
Error when reading the packet from the socket.
ProtobufError(DecodeError)
Error when decoding the raw buffer into a protobuf.
Error when parsing the PeerId
in the message.
Trait Implementations
impl Debug for FloodsubDecodeError
[src]
impl Debug for FloodsubDecodeError
[src]impl Display for FloodsubDecodeError
[src]
impl Display for FloodsubDecodeError
[src]impl Error for FloodsubDecodeError
[src]
impl Error for FloodsubDecodeError
[src]impl From<DecodeError> for FloodsubDecodeError
[src]
impl From<DecodeError> for FloodsubDecodeError
[src]pub fn from(err: DecodeError) -> FloodsubDecodeError
[src]
impl From<ReadOneError> for FloodsubDecodeError
[src]
impl From<ReadOneError> for FloodsubDecodeError
[src]