[−][src]Enum libp2p::core::nodes::handled_node::NodeHandlerEndpoint
Endpoint for a received substream.
Variants
Dialer(TOutboundOpenInfo)
Listener
Methods
impl<TOutboundOpenInfo> NodeHandlerEndpoint<TOutboundOpenInfo>
[src]
pub fn is_dialer(&self) -> bool
[src]
Returns true for Dialer
.
pub fn is_listener(&self) -> bool
[src]
Returns true for Listener
.
Trait Implementations
impl<TOutboundOpenInfo> Clone for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Clone,
[src]
TOutboundOpenInfo: Clone,
fn clone(&self) -> NodeHandlerEndpoint<TOutboundOpenInfo>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<TOutboundOpenInfo> Debug for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Debug,
[src]
TOutboundOpenInfo: Debug,
impl<TOutboundOpenInfo> Eq for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Eq,
[src]
TOutboundOpenInfo: Eq,
impl<TOutboundOpenInfo> Copy for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Copy,
[src]
TOutboundOpenInfo: Copy,
impl<TOutboundOpenInfo> PartialEq<NodeHandlerEndpoint<TOutboundOpenInfo>> for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: PartialEq<TOutboundOpenInfo>,
[src]
TOutboundOpenInfo: PartialEq<TOutboundOpenInfo>,
fn eq(&self, other: &NodeHandlerEndpoint<TOutboundOpenInfo>) -> bool
[src]
fn ne(&self, other: &NodeHandlerEndpoint<TOutboundOpenInfo>) -> bool
[src]
Auto Trait Implementations
impl<TOutboundOpenInfo> Send for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Send,
TOutboundOpenInfo: Send,
impl<TOutboundOpenInfo> Sync for NodeHandlerEndpoint<TOutboundOpenInfo> where
TOutboundOpenInfo: Sync,
TOutboundOpenInfo: Sync,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
T: Any,