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