pub struct GenericEndpoint<P: Protocol> { /* private fields */ }
Implementations§
Source§impl<P: Protocol> GenericEndpoint<P>
impl<P: Protocol> GenericEndpoint<P>
Trait Implementations§
Source§impl<P: Clone + Protocol> Clone for GenericEndpoint<P>
impl<P: Clone + Protocol> Clone for GenericEndpoint<P>
Source§fn clone(&self) -> GenericEndpoint<P>
fn clone(&self) -> GenericEndpoint<P>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Endpoint<GenericDgram> for GenericEndpoint<GenericDgram>
impl Endpoint<GenericDgram> for GenericEndpoint<GenericDgram>
fn protocol(&self) -> GenericDgram
Source§impl Endpoint<GenericRaw> for GenericEndpoint<GenericRaw>
impl Endpoint<GenericRaw> for GenericEndpoint<GenericRaw>
fn protocol(&self) -> GenericRaw
Source§impl Endpoint<GenericSeqPacket> for GenericEndpoint<GenericSeqPacket>
impl Endpoint<GenericSeqPacket> for GenericEndpoint<GenericSeqPacket>
fn protocol(&self) -> GenericSeqPacket
Source§impl Endpoint<GenericStream> for GenericEndpoint<GenericStream>
impl Endpoint<GenericStream> for GenericEndpoint<GenericStream>
fn protocol(&self) -> GenericStream
Source§impl<P: Ord + Protocol> Ord for GenericEndpoint<P>
impl<P: Ord + Protocol> Ord for GenericEndpoint<P>
Source§fn cmp(&self, other: &GenericEndpoint<P>) -> Ordering
fn cmp(&self, other: &GenericEndpoint<P>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<P: PartialOrd + Protocol> PartialOrd for GenericEndpoint<P>
impl<P: PartialOrd + Protocol> PartialOrd for GenericEndpoint<P>
Source§impl<P: Protocol> SockAddr for GenericEndpoint<P>
impl<P: Protocol> SockAddr for GenericEndpoint<P>
impl<P: Eq + Protocol> Eq for GenericEndpoint<P>
impl<P: Protocol> StructuralPartialEq for GenericEndpoint<P>
Auto Trait Implementations§
impl<P> Freeze for GenericEndpoint<P>
impl<P> RefUnwindSafe for GenericEndpoint<P>where
P: RefUnwindSafe,
impl<P> Send for GenericEndpoint<P>
impl<P> Sync for GenericEndpoint<P>where
P: Sync,
impl<P> Unpin for GenericEndpoint<P>where
P: Unpin,
impl<P> UnwindSafe for GenericEndpoint<P>where
P: 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