pub struct RawVsockConfig {
pub vsock_id: Option<String>,
pub guest_cid: u32,
pub uds_path: String,
pub tsi: bool,
}Expand description
Raw /vsock PUT body off the wire.
Fields§
§vsock_id: Option<String>Caller-supplied vsock ID (back-compat field; runtime-ignored upstream).
guest_cid: u32Guest-side CID. Must be >= 3.
uds_path: StringUDS path the host multiplex listener binds.
tsi: boolSquib-only opt-in: enable the TSI mode. Default false.
Trait Implementations§
Source§impl Clone for RawVsockConfig
impl Clone for RawVsockConfig
Source§fn clone(&self) -> RawVsockConfig
fn clone(&self) -> RawVsockConfig
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 moreSource§impl Debug for RawVsockConfig
impl Debug for RawVsockConfig
Source§impl<'de> Deserialize<'de> for RawVsockConfig
impl<'de> Deserialize<'de> for RawVsockConfig
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 TryFrom<RawVsockConfig> for VsockConfig
impl TryFrom<RawVsockConfig> for VsockConfig
Auto Trait Implementations§
impl Freeze for RawVsockConfig
impl RefUnwindSafe for RawVsockConfig
impl Send for RawVsockConfig
impl Sync for RawVsockConfig
impl Unpin for RawVsockConfig
impl UnsafeUnpin for RawVsockConfig
impl UnwindSafe for RawVsockConfig
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