Struct libp2p::swarm::handler::ListenUpgradeError
source · pub struct ListenUpgradeError<IOI, IP>where
IP: InboundUpgradeSend,{
pub info: IOI,
pub error: ConnectionHandlerUpgrErr<<IP as InboundUpgradeSend>::Error>,
}
Expand description
ConnectionEvent
variant that informs the handler
that upgrading an inbound substream to the given protocol has failed.
Fields§
§info: IOI
§error: ConnectionHandlerUpgrErr<<IP as InboundUpgradeSend>::Error>