pub struct PT_SOCKFAMILY(pub u8);
Expand description
Socket family (PPM_AF_*
)
This looks unused
Tuple Fields§
§0: u8
Trait Implementations§
source§impl Clone for SockFamily
impl Clone for SockFamily
source§fn clone(&self) -> SockFamily
fn clone(&self) -> SockFamily
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 SockFamily
impl Debug for SockFamily
source§impl Default for SockFamily
impl Default for SockFamily
source§fn default() -> SockFamily
fn default() -> SockFamily
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SockFamily
impl<'de> Deserialize<'de> for SockFamily
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<F> Format<F> for SockFamily
impl<F> Format<F> for SockFamily
source§impl FromBytes<'_> for SockFamily
impl FromBytes<'_> for SockFamily
source§fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
fn from_bytes(buf: &mut &[u8]) -> FromBytesResult<Self>where
Self: Sized,
Read the binary representation of a field and return the parsed representation Read more
source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> FromBytesResult<Self>
Read the binary representation of a field from a buffer that may or may not exist Read more
source§impl Hash for SockFamily
impl Hash for SockFamily
source§impl Ord for SockFamily
impl Ord for SockFamily
source§fn cmp(&self, other: &SockFamily) -> Ordering
fn cmp(&self, other: &SockFamily) -> 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 SockFamily
impl PartialEq for SockFamily
source§impl PartialOrd for SockFamily
impl PartialOrd for SockFamily
source§impl Serialize for SockFamily
impl Serialize for SockFamily
source§impl ToBytes for SockFamily
impl ToBytes for SockFamily
impl Copy for SockFamily
impl Eq for SockFamily
impl StructuralPartialEq for SockFamily
Auto Trait Implementations§
impl Freeze for SockFamily
impl RefUnwindSafe for SockFamily
impl Send for SockFamily
impl Sync for SockFamily
impl Unpin for SockFamily
impl UnwindSafe for SockFamily
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)