pub enum OutboundPeer<Id, T> {
Peer(Id, T),
Exhausted,
}
Expand description
A response from an attempt to retrieve an outbound peer.
Variants§
Auto Trait Implementations§
impl<Id, T> Freeze for OutboundPeer<Id, T>
impl<Id, T> RefUnwindSafe for OutboundPeer<Id, T>where
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<Id, T> Send for OutboundPeer<Id, T>
impl<Id, T> Sync for OutboundPeer<Id, T>
impl<Id, T> Unpin for OutboundPeer<Id, T>
impl<Id, T> UnwindSafe for OutboundPeer<Id, T>where
Id: UnwindSafe,
T: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.