pub struct GenericDgram { /* private fields */ }
Trait Implementations§
Source§impl Clone for GenericDgram
impl Clone for GenericDgram
Source§fn clone(&self) -> GenericDgram
fn clone(&self) -> GenericDgram
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 Debug for GenericDgram
impl Debug for GenericDgram
Source§impl Endpoint<GenericDgram> for GenericEndpoint<GenericDgram>
impl Endpoint<GenericDgram> for GenericEndpoint<GenericDgram>
fn protocol(&self) -> GenericDgram
Source§impl Ord for GenericDgram
impl Ord for GenericDgram
Source§fn cmp(&self, other: &GenericDgram) -> Ordering
fn cmp(&self, other: &GenericDgram) -> 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 PartialEq for GenericDgram
impl PartialEq for GenericDgram
Source§impl PartialOrd for GenericDgram
impl PartialOrd for GenericDgram
Source§impl Protocol for GenericDgram
impl Protocol for GenericDgram
type Endpoint = GenericEndpoint<GenericDgram>
Source§fn family_type(&self) -> i32
fn family_type(&self) -> i32
Reurns a value suitable for passing as the domain argument.
Source§fn socket_type(&self) -> i32
fn socket_type(&self) -> i32
Returns a value suitable for passing as the type argument.
Source§fn protocol_type(&self) -> i32
fn protocol_type(&self) -> i32
Returns a value suitable for passing as the protocol argument.
unsafe fn uninitialized(&self) -> Self::Endpoint
impl Eq for GenericDgram
impl StructuralPartialEq for GenericDgram
Auto Trait Implementations§
impl Freeze for GenericDgram
impl RefUnwindSafe for GenericDgram
impl Send for GenericDgram
impl Sync for GenericDgram
impl Unpin for GenericDgram
impl UnwindSafe for GenericDgram
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