Struct libp2p::core::transport::upgrade::Upgrade [−][src]
A custom upgrade on an Authenticated
transport.
Implementations
impl<T, U> Upgrade<T, U>
[src][−]
Trait Implementations
impl<T, U> Clone for Upgrade<T, U> where
T: Clone,
U: Clone,
[src][+]
T: Clone,
U: Clone,
impl<T, U> Copy for Upgrade<T, U> where
T: Copy,
U: Copy,
[src]
T: Copy,
U: Copy,
impl<T, U> Debug for Upgrade<T, U> where
T: Debug,
U: Debug,
[src][+]
T: Debug,
U: Debug,
impl<T, C, D, U, E> Transport for Upgrade<T, U> where
C: AsyncRead + AsyncWrite + Unpin,
E: Error + 'static,
T: Transport<Output = (PeerId, C)>,
U: InboundUpgrade<Negotiated<C>, Output = D, Error = E> + OutboundUpgrade<Negotiated<C>, Output = D, Error = E> + Clone,
<T as Transport>::Error: 'static,
[src][+]
C: AsyncRead + AsyncWrite + Unpin,
E: Error + 'static,
T: Transport<Output = (PeerId, C)>,
U: InboundUpgrade<Negotiated<C>, Output = D, Error = E> + OutboundUpgrade<Negotiated<C>, Output = D, Error = E> + Clone,
<T as Transport>::Error: 'static,
Auto Trait Implementations
impl<T, U> RefUnwindSafe for Upgrade<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Upgrade<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for Upgrade<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<T, U> Unpin for Upgrade<T, U> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for Upgrade<T, U> where
T: UnwindSafe,
U: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,