Enum libp2p_kad::handler::KademliaHandlerQueryErr [−][src]
pub enum KademliaHandlerQueryErr {
Upgrade(ProtocolsHandlerUpgrErr<Error>),
UnexpectedMessage,
Io(Error),
}Expand description
Error that can happen when requesting an RPC query.
Variants
Upgrade(ProtocolsHandlerUpgrErr<Error>)Error while trying to perform the query.
Tuple Fields of Upgrade
Received an answer that doesn’t correspond to the request.
Io(Error)I/O error in the substream.
Tuple Fields of Io
0: ErrorTrait Implementations
Performs the conversion.