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 Error for FloodsubDecodeError
[src]
impl Error for FloodsubDecodeError
[src]impl From<DecodeError> for FloodsubDecodeError
[src]
impl From<DecodeError> for FloodsubDecodeError
[src]fn from(err: DecodeError) -> Self
[src]
impl From<ReadOneError> for FloodsubDecodeError
[src]
impl From<ReadOneError> for FloodsubDecodeError
[src]