Struct carapace::SandboxConfig [−][src]
Fields
bin: PathBuf
args: Vec<OsString>
env: Vec<OsString>
chroot: Option<PathBuf>
uid: Option<u32>
gid: Option<u32>
stdin: Option<PathBuf>
stdout: Option<PathBuf>
stderr: Option<PathBuf>
stdin_fd: Option<RawFd>
stdout_fd: Option<RawFd>
stderr_fd: Option<RawFd>
real_time_limit: Option<u64>
rlimit_cpu: Option<u32>
rlimit_as: Option<u64>
rlimit_data: Option<u64>
rlimit_fsize: Option<u64>
cg_limit_memory: Option<u64>
cg_limit_max_pids: Option<u32>
bindmount_rw: Vec<BindMount>
bindmount_ro: Vec<BindMount>
mount_proc: Option<PathBuf>
mount_tmpfs: Option<PathBuf>
priority: Option<i8>
seccomp_forbid_ipc: bool
Implementations
impl SandboxConfig
[src]
pub fn to_cli_cmd(&self) -> Command
[src]
Trait Implementations
impl Clap for SandboxConfig
[src]
pub fn parse() -> Self
[src]
pub fn try_parse() -> Result<Self, Error>
[src]
pub fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
pub fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
[src]
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
impl Debug for SandboxConfig
[src]
impl Default for SandboxConfig
[src]
fn default() -> SandboxConfig
[src]
impl<'de> Deserialize<'de> for SandboxConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl FromArgMatches for SandboxConfig
[src]
fn from_arg_matches(matches: &ArgMatches) -> Self
[src]
impl IntoApp for SandboxConfig
[src]
impl Serialize for SandboxConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for SandboxConfig
impl Send for SandboxConfig
impl Sync for SandboxConfig
impl Unpin for SandboxConfig
impl UnwindSafe for SandboxConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,