pub struct SpecialOptions {
pub share_net: bool,
pub inherit_fds: bool,
pub tty_hack: bool,
pub special_files: bool,
pub use_cgroups: bool,
pub no_default_dirs: bool,
pub verbose: bool,
pub silent: bool,
pub wait: bool,
pub as_uid: Option<u32>,
pub as_gid: Option<u32>,
}Expand description
Special options for isolate
Fields§
§inherit_fds: bool§tty_hack: bool§special_files: bool§use_cgroups: bool§no_default_dirs: bool§verbose: bool§silent: bool§wait: bool§as_uid: Option<u32>§as_gid: Option<u32>Trait Implementations§
Source§impl Clone for SpecialOptions
impl Clone for SpecialOptions
Source§fn clone(&self) -> SpecialOptions
fn clone(&self) -> SpecialOptions
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 SpecialOptions
impl Debug for SpecialOptions
Source§impl Default for SpecialOptions
impl Default for SpecialOptions
Source§fn default() -> SpecialOptions
fn default() -> SpecialOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpecialOptions
impl RefUnwindSafe for SpecialOptions
impl Send for SpecialOptions
impl Sync for SpecialOptions
impl Unpin for SpecialOptions
impl UnsafeUnpin for SpecialOptions
impl UnwindSafe for SpecialOptions
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