Struct nix::sys::socket::NetlinkAddr
source · pub struct NetlinkAddr(/* private fields */);
Expand description
Implementations§
Trait Implementations§
source§impl AsRef<sockaddr_nl> for NetlinkAddr
impl AsRef<sockaddr_nl> for NetlinkAddr
source§fn as_ref(&self) -> &sockaddr_nl
fn as_ref(&self) -> &sockaddr_nl
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for NetlinkAddr
impl Clone for NetlinkAddr
source§fn clone(&self) -> NetlinkAddr
fn clone(&self) -> NetlinkAddr
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 NetlinkAddr
impl Debug for NetlinkAddr
source§impl Display for NetlinkAddr
impl Display for NetlinkAddr
source§impl Hash for NetlinkAddr
impl Hash for NetlinkAddr
source§impl PartialEq for NetlinkAddr
impl PartialEq for NetlinkAddr
source§impl SockaddrLike for NetlinkAddr
impl SockaddrLike for NetlinkAddr
source§unsafe fn from_raw(
addr: *const sockaddr,
len: Option<socklen_t>,
) -> Option<Self>where
Self: Sized,
unsafe fn from_raw(
addr: *const sockaddr,
len: Option<socklen_t>,
) -> Option<Self>where
Self: Sized,
Unsafe constructor from a variable length source Read more
source§fn as_ptr(&self) -> *const sockaddr
fn as_ptr(&self) -> *const sockaddr
Returns a raw pointer to the inner structure. Useful for FFI.
impl Copy for NetlinkAddr
impl Eq for NetlinkAddr
impl StructuralPartialEq for NetlinkAddr
Auto Trait Implementations§
impl Freeze for NetlinkAddr
impl RefUnwindSafe for NetlinkAddr
impl Send for NetlinkAddr
impl Sync for NetlinkAddr
impl Unpin for NetlinkAddr
impl UnwindSafe for NetlinkAddr
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
)