pub struct NamespaceResponse {
pub allocation_id: String,
pub fd_types: Vec<NamespaceType>,
pub uenv_mount_path: Option<String>,
}Expand description
Response from pact to lattice with namespace metadata.
The actual namespace file descriptors are passed via SCM_RIGHTS
ancillary data on the unix socket, in the same order as
requested_types.
Fields§
§allocation_id: StringAllocation identifier (echoed from request).
fd_types: Vec<NamespaceType>Namespace types in the order their FDs are attached via SCM_RIGHTS.
uenv_mount_path: Option<String>Mount point for uenv bind-mount inside the mount namespace (if requested).
Trait Implementations§
Source§impl Clone for NamespaceResponse
impl Clone for NamespaceResponse
Source§fn clone(&self) -> NamespaceResponse
fn clone(&self) -> NamespaceResponse
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 NamespaceResponse
impl Debug for NamespaceResponse
Source§impl<'de> Deserialize<'de> for NamespaceResponse
impl<'de> Deserialize<'de> for NamespaceResponse
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
Auto Trait Implementations§
impl Freeze for NamespaceResponse
impl RefUnwindSafe for NamespaceResponse
impl Send for NamespaceResponse
impl Sync for NamespaceResponse
impl Unpin for NamespaceResponse
impl UnsafeUnpin for NamespaceResponse
impl UnwindSafe for NamespaceResponse
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