pub struct VsockConfig {
pub vsock_id: String,
pub guest_cid: u64,
pub uds_path: String,
pub tsi: bool,
}Expand description
virtio-vsock configuration.
Fields§
§vsock_id: StringOperator-supplied identifier.
guest_cid: u64Guest CID. Must be ≥ 3.
uds_path: StringHost UDS path (informational; the production muxer reads this).
tsi: booltrue to enable TSI mode (D8 — off by default).
Trait Implementations§
Source§impl Clone for VsockConfig
impl Clone for VsockConfig
Source§fn clone(&self) -> VsockConfig
fn clone(&self) -> VsockConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VsockConfig
impl RefUnwindSafe for VsockConfig
impl Send for VsockConfig
impl Sync for VsockConfig
impl Unpin for VsockConfig
impl UnsafeUnpin for VsockConfig
impl UnwindSafe for VsockConfig
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