pub struct ContainerProgram {
pub features: Vec<String>,
pub default_seclabel: Option<String>,
pub default_uid: StoreAsString<u32>,
pub default_ns_mount_options: Option<Vec<String>>,
/* private fields */
}Fields§
§features: Vec<String>The features enabled for this container.
default_seclabel: Option<String>The default seclabel that is applied to components that are instantiated in this container.
Components can override this by setting the seclabel field in their program block.
default_uid: StoreAsString<u32>The default uid that is applied to components that are instantiated in this container.
Components can override this by setting the uid field in their program block.
default_ns_mount_options: Option<Vec<String>>The default mount options to use when mounting directories from a component’s namespace.
Each string is expected to follow the format: “<namespace_path>:<mount_options>”.
Trait Implementations§
Source§impl Debug for ContainerProgram
impl Debug for ContainerProgram
Source§impl Default for ContainerProgram
impl Default for ContainerProgram
Source§fn default() -> ContainerProgram
fn default() -> ContainerProgram
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerProgram
impl<'de> Deserialize<'de> for ContainerProgram
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 ContainerProgram
impl RefUnwindSafe for ContainerProgram
impl Send for ContainerProgram
impl Sync for ContainerProgram
impl Unpin for ContainerProgram
impl UnwindSafe for ContainerProgram
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> MultiArchFrom<T> for Uwhere
U: From<T>,
impl<T, U> MultiArchFrom<T> for Uwhere
U: From<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.