pub enum ShellIsolate {
Off,
Process,
Fs,
}Expand description
What a shell command can reach once it runs. The mechanics are in eclipse_core::sandbox.
Variants§
Off
A plain process: your files, your network, and anything it starts outlives the call.
Process
A private PID namespace, through bubblewrap. The filesystem is unchanged; a daemon the command leaves behind dies with the run.
Fs
A private PID namespace and a read-only filesystem, with the workspace writable. Costs a
build that writes outside the workspace (cargo into ~/.cargo) a shell_isolate_writable
line.
Trait Implementations§
Source§impl Clone for ShellIsolate
impl Clone for ShellIsolate
impl Copy for ShellIsolate
Source§impl Debug for ShellIsolate
impl Debug for ShellIsolate
Source§impl<'de> Deserialize<'de> for ShellIsolate
impl<'de> Deserialize<'de> for ShellIsolate
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
Source§impl Display for ShellIsolate
impl Display for ShellIsolate
impl Eq for ShellIsolate
Source§impl PartialEq for ShellIsolate
impl PartialEq for ShellIsolate
Source§impl Serialize for ShellIsolate
impl Serialize for ShellIsolate
impl StructuralPartialEq for ShellIsolate
Auto Trait Implementations§
impl Forget for ShellIsolate
impl Freeze for ShellIsolate
impl Move for ShellIsolate
impl RefUnwindSafe for ShellIsolate
impl Send for ShellIsolate
impl Sync for ShellIsolate
impl Unpin for ShellIsolate
impl UnsafeUnpin for ShellIsolate
impl UnwindSafe for ShellIsolate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.