pub struct VsockAddr {
pub cid: u64,
pub port: u32,
}
Expand description
Socket address.
Fields§
§cid: u64
Context Identifier.
port: u32
Port number.
Trait Implementations§
impl Copy for VsockAddr
impl Eq for VsockAddr
impl StructuralPartialEq for VsockAddr
Auto Trait Implementations§
impl Freeze for VsockAddr
impl RefUnwindSafe for VsockAddr
impl Send for VsockAddr
impl Sync for VsockAddr
impl Unpin for VsockAddr
impl UnwindSafe for VsockAddr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)