Struct libc::sockaddr_vm
source · [−]#[repr(C)]pub struct sockaddr_vm {
pub svm_family: sa_family_t,
pub svm_reserved1: c_ushort,
pub svm_port: c_uint,
pub svm_cid: c_uint,
pub svm_zero: [u8; 4],
}
Fields
svm_family: sa_family_t
svm_reserved1: c_ushort
svm_port: c_uint
svm_cid: c_uint
svm_zero: [u8; 4]
Trait Implementations
sourceimpl Clone for sockaddr_vm
impl Clone for sockaddr_vm
sourcefn clone(&self) -> sockaddr_vm
fn clone(&self) -> sockaddr_vm
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for sockaddr_vm
impl Debug for sockaddr_vm
sourceimpl Hash for sockaddr_vm
impl Hash for sockaddr_vm
sourceimpl PartialEq<sockaddr_vm> for sockaddr_vm
impl PartialEq<sockaddr_vm> for sockaddr_vm
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &sockaddr_vm) -> bool
fn ne(&self, other: &sockaddr_vm) -> bool
This method tests for !=
.
impl Copy for sockaddr_vm
impl Eq for sockaddr_vm
impl StructuralEq for sockaddr_vm
impl StructuralPartialEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more