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.
Received an answer that doesn’t correspond to the request.
Io(Error)I/O error in the substream.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for KademliaHandlerQueryErrimpl Send for KademliaHandlerQueryErrimpl Sync for KademliaHandlerQueryErrimpl Unpin for KademliaHandlerQueryErrimpl !UnwindSafe for KademliaHandlerQueryErrBlanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V