Struct libp2p_swarm::handler::DialUpgradeError
source · pub struct DialUpgradeError<OOI, OP: OutboundUpgradeSend> {
pub info: OOI,
pub error: ConnectionHandlerUpgrErr<OP::Error>,
}
Expand description
ConnectionEvent
variant that informs the handler
that upgrading an outbound substream to the given protocol has failed.
Fields§
§info: OOI
§error: ConnectionHandlerUpgrErr<OP::Error>
Auto Trait Implementations§
impl<OOI, OP> !RefUnwindSafe for DialUpgradeError<OOI, OP>
impl<OOI, OP> Send for DialUpgradeError<OOI, OP>where OOI: Send,
impl<OOI, OP> Sync for DialUpgradeError<OOI, OP>where OOI: Sync, <OP as OutboundUpgradeSend>::Error: Sync,
impl<OOI, OP> Unpin for DialUpgradeError<OOI, OP>where OOI: Unpin, <OP as OutboundUpgradeSend>::Error: Unpin,
impl<OOI, OP> !UnwindSafe for DialUpgradeError<OOI, OP>
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