pub enum NodeHandlerEndpoint<TOutboundOpenInfo> {
Dialer(TOutboundOpenInfo),
Listener,
}Expand description
Endpoint for a received substream.
Variants
Dialer(TOutboundOpenInfo)
Listener
Implementations
sourceimpl<TOutboundOpenInfo> NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo> NodeHandlerEndpoint<TOutboundOpenInfo>
Trait Implementations
sourceimpl<TOutboundOpenInfo: Clone> Clone for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo: Clone> Clone for NodeHandlerEndpoint<TOutboundOpenInfo>
sourcefn clone(&self) -> NodeHandlerEndpoint<TOutboundOpenInfo>
fn clone(&self) -> NodeHandlerEndpoint<TOutboundOpenInfo>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<TOutboundOpenInfo: Debug> Debug for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo: Debug> Debug for NodeHandlerEndpoint<TOutboundOpenInfo>
sourceimpl<TOutboundOpenInfo: PartialEq> PartialEq<NodeHandlerEndpoint<TOutboundOpenInfo>> for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo: PartialEq> PartialEq<NodeHandlerEndpoint<TOutboundOpenInfo>> for NodeHandlerEndpoint<TOutboundOpenInfo>
sourcefn eq(&self, other: &NodeHandlerEndpoint<TOutboundOpenInfo>) -> bool
fn eq(&self, other: &NodeHandlerEndpoint<TOutboundOpenInfo>) -> bool
impl<TOutboundOpenInfo: Copy> Copy for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo: Eq> Eq for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo> StructuralEq for NodeHandlerEndpoint<TOutboundOpenInfo>
impl<TOutboundOpenInfo> StructuralPartialEq for NodeHandlerEndpoint<TOutboundOpenInfo>
Auto Trait Implementations
impl<TOutboundOpenInfo> RefUnwindSafe for NodeHandlerEndpoint<TOutboundOpenInfo>where
TOutboundOpenInfo: RefUnwindSafe,
impl<TOutboundOpenInfo> Send for NodeHandlerEndpoint<TOutboundOpenInfo>where
TOutboundOpenInfo: Send,
impl<TOutboundOpenInfo> Sync for NodeHandlerEndpoint<TOutboundOpenInfo>where
TOutboundOpenInfo: Sync,
impl<TOutboundOpenInfo> Unpin for NodeHandlerEndpoint<TOutboundOpenInfo>where
TOutboundOpenInfo: Unpin,
impl<TOutboundOpenInfo> UnwindSafe for NodeHandlerEndpoint<TOutboundOpenInfo>where
TOutboundOpenInfo: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more