Struct libp2p_swarm::handler::ListenUpgradeError
source · pub struct ListenUpgradeError<IOI, IP: InboundUpgradeSend> {
pub info: IOI,
pub error: ConnectionHandlerUpgrErr<IP::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::Error>
Auto Trait Implementations§
impl<IOI, IP> !RefUnwindSafe for ListenUpgradeError<IOI, IP>
impl<IOI, IP> Send for ListenUpgradeError<IOI, IP>where IOI: Send,
impl<IOI, IP> Sync for ListenUpgradeError<IOI, IP>where IOI: Sync, <IP as InboundUpgradeSend>::Error: Sync,
impl<IOI, IP> Unpin for ListenUpgradeError<IOI, IP>where IOI: Unpin, <IP as InboundUpgradeSend>::Error: Unpin,
impl<IOI, IP> !UnwindSafe for ListenUpgradeError<IOI, IP>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more