Struct libc::sockaddr_vm
source · #[repr(C)]#[repr(packed(1))]pub struct sockaddr_vm {
pub svm_len: c_uchar,
pub svm_family: sa_family_t,
pub svm_reserved1: c_ushort,
pub svm_port: c_uint,
pub svm_cid: c_uint,
}
Fields§
§svm_len: c_uchar
§svm_family: sa_family_t
§svm_reserved1: c_ushort
§svm_port: c_uint
§svm_cid: c_uint
Trait Implementations§
source§impl Clone for sockaddr_vm
impl Clone for sockaddr_vm
source§fn clone(&self) -> sockaddr_vm
fn clone(&self) -> sockaddr_vm
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 sockaddr_vm
impl Debug for sockaddr_vm
source§impl Hash for sockaddr_vm
impl Hash for sockaddr_vm
source§impl PartialEq<sockaddr_vm> for sockaddr_vm
impl PartialEq<sockaddr_vm> for sockaddr_vm
source§fn eq(&self, other: &sockaddr_vm) -> bool
fn eq(&self, other: &sockaddr_vm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sockaddr_vm
impl Eq for sockaddr_vm
Auto Trait Implementations§
impl RefUnwindSafe for sockaddr_vm
impl Send for sockaddr_vm
impl Sync for sockaddr_vm
impl Unpin for sockaddr_vm
impl UnwindSafe for sockaddr_vm
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