pub struct VsockSocketAddress {
pub cid: String,
pub port: String,
}
Fields§
§cid: String
§port: String
Trait Implementations§
Source§impl AsRef<VsockSocketAddress> for VsockSocketAddressWrapper
impl AsRef<VsockSocketAddress> for VsockSocketAddressWrapper
Source§fn as_ref(&self) -> &VsockSocketAddress
fn as_ref(&self) -> &VsockSocketAddress
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for VsockSocketAddress
impl Clone for VsockSocketAddress
Source§fn clone(&self) -> VsockSocketAddress
fn clone(&self) -> VsockSocketAddress
Returns a duplicate 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 VsockSocketAddress
impl Debug for VsockSocketAddress
Source§impl<'de> Deserialize<'de> for VsockSocketAddress
impl<'de> Deserialize<'de> for VsockSocketAddress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<VsockSocketAddress> for SocketAddress
impl From<VsockSocketAddress> for SocketAddress
Source§fn from(val: VsockSocketAddress) -> Self
fn from(val: VsockSocketAddress) -> Self
Converts to this type from the input type.
Source§impl From<VsockSocketAddress> for SocketAddressLegacy
impl From<VsockSocketAddress> for SocketAddressLegacy
Source§fn from(val: VsockSocketAddress) -> Self
fn from(val: VsockSocketAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VsockSocketAddress
impl RefUnwindSafe for VsockSocketAddress
impl Send for VsockSocketAddress
impl Sync for VsockSocketAddress
impl Unpin for VsockSocketAddress
impl UnwindSafe for VsockSocketAddress
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