Struct libp2p_swarm::handler::ListenUpgradeError
source · pub struct ListenUpgradeError<IOI, IP: InboundUpgradeSend> {
pub info: IOI,
pub error: 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: IP::Error
Trait Implementations§
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>
impl<IOI, IP> Unpin for ListenUpgradeError<IOI, IP>
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