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
impl Copy 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more