Struct libp2p_swarm::handler::DialUpgradeError
source · pub struct DialUpgradeError<OOI, OP: OutboundUpgradeSend> {
pub info: OOI,
pub error: StreamUpgradeError<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: StreamUpgradeError<OP::Error>
Trait Implementations§
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>
impl<OOI, OP> Unpin for DialUpgradeError<OOI, OP>
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