pub struct NamespaceRequest {
pub allocation_id: String,
pub namespaces: Vec<NamespaceType>,
pub uenv_image: Option<String>,
}Expand description
Request from lattice to pact for allocation namespaces.
Sent over the handoff unix socket as a framed message.
Fields§
§allocation_id: StringAllocation identifier (from lattice scheduler).
namespaces: Vec<NamespaceType>Which namespaces to create.
uenv_image: Option<String>Optional uenv image to mount inside the mount namespace.
Trait Implementations§
Source§impl Clone for NamespaceRequest
impl Clone for NamespaceRequest
Source§fn clone(&self) -> NamespaceRequest
fn clone(&self) -> NamespaceRequest
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 NamespaceRequest
impl Debug for NamespaceRequest
Source§impl<'de> Deserialize<'de> for NamespaceRequest
impl<'de> Deserialize<'de> for NamespaceRequest
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 NamespaceRequest
impl RefUnwindSafe for NamespaceRequest
impl Send for NamespaceRequest
impl Sync for NamespaceRequest
impl Unpin for NamespaceRequest
impl UnsafeUnpin for NamespaceRequest
impl UnwindSafe for NamespaceRequest
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