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§
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 for sockaddr_vm
impl PartialEq 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
impl StructuralPartialEq for sockaddr_vm
Auto Trait Implementations§
impl Freeze for sockaddr_vm
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