Struct netlink_socket::SocketAddr [−][src]
pub struct SocketAddr(_);
Methods
impl SocketAddr[src]
impl SocketAddrpub fn new(port_number: u32, multicast_groups: u32) -> Self[src]
pub fn new(port_number: u32, multicast_groups: u32) -> Selfpub fn port_number(&self) -> u32[src]
pub fn port_number(&self) -> u32pub fn multicast_groups(&self) -> u32[src]
pub fn multicast_groups(&self) -> u32Trait Implementations
impl Copy for SocketAddr[src]
impl Copy for SocketAddrimpl Clone for SocketAddr[src]
impl Clone for SocketAddrfn clone(&self) -> SocketAddr[src]
fn clone(&self) -> SocketAddrReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for SocketAddr
impl Send for SocketAddrimpl Sync for SocketAddr
impl Sync for SocketAddr