#[repr(C)]pub struct scoutfs_inet_addr {
pub addr: __le32,
pub port: __le16,
pub __pad: [__u8; 2],
}Fields§
§addr: __le32§port: __le16§__pad: [__u8; 2]Trait Implementations§
Source§impl Clone for scoutfs_inet_addr
impl Clone for scoutfs_inet_addr
Source§fn clone(&self) -> scoutfs_inet_addr
fn clone(&self) -> scoutfs_inet_addr
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 scoutfs_inet_addr
impl Debug for scoutfs_inet_addr
Source§impl Default for scoutfs_inet_addr
impl Default for scoutfs_inet_addr
Source§fn default() -> scoutfs_inet_addr
fn default() -> scoutfs_inet_addr
Returns the “default value” for a type. Read more
Source§impl Hash for scoutfs_inet_addr
impl Hash for scoutfs_inet_addr
Source§impl Ord for scoutfs_inet_addr
impl Ord for scoutfs_inet_addr
Source§fn cmp(&self, other: &scoutfs_inet_addr) -> Ordering
fn cmp(&self, other: &scoutfs_inet_addr) -> 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 scoutfs_inet_addr
impl PartialEq for scoutfs_inet_addr
Source§impl PartialOrd for scoutfs_inet_addr
impl PartialOrd for scoutfs_inet_addr
impl Copy for scoutfs_inet_addr
impl Eq for scoutfs_inet_addr
impl StructuralPartialEq for scoutfs_inet_addr
Auto Trait Implementations§
impl Freeze for scoutfs_inet_addr
impl RefUnwindSafe for scoutfs_inet_addr
impl Send for scoutfs_inet_addr
impl Sync for scoutfs_inet_addr
impl Unpin for scoutfs_inet_addr
impl UnwindSafe for scoutfs_inet_addr
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