pub struct LinuxBuilder { /* private fields */ }
Expand description
Builder for Linux
.
Implementations§
Source§impl LinuxBuilder
impl LinuxBuilder
pub fn cgroups_path<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn devices<VALUE: Into<Option<Vec<LinuxDevice>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn gid_mappings<VALUE: Into<Option<Vec<IdMapping>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn intel_rdt<VALUE: Into<Option<IntelRdt>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn masked_paths<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn mount_label<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn namespaces<VALUE: Into<Option<Vec<NamespaceReference>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn readonly_paths<VALUE: Into<Option<Vec<String>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn resources<VALUE: Into<Option<LinuxResources>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn rootfs_propagation<VALUE: Into<Option<RootfsPropagation>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn seccomp<VALUE: Into<Option<Seccomp>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn sysctl<VALUE: Into<Option<HashMap<String, Option<Value>>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn uid_mappings<VALUE: Into<Option<Vec<IdMapping>>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for LinuxBuilder
impl Clone for LinuxBuilder
Source§fn clone(&self) -> LinuxBuilder
fn clone(&self) -> LinuxBuilder
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 Default for LinuxBuilder
impl Default for LinuxBuilder
Source§fn default() -> LinuxBuilder
fn default() -> LinuxBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LinuxBuilder
impl RefUnwindSafe for LinuxBuilder
impl Send for LinuxBuilder
impl Sync for LinuxBuilder
impl Unpin for LinuxBuilder
impl UnwindSafe for LinuxBuilder
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