pub struct SandboxTool {
pub package: Option<&'static str>,
pub version_command: &'static str,
}Expand description
A tool the default sandbox base ships, and the command that shows it runs.
Fields§
§package: Option<&'static str>The Ubuntu archive package it comes from, or None for one copied out of
DEFAULT_SANDBOX_UV_IMAGE.
version_command: &'static strPrints the tool’s version and exits zero.
Trait Implementations§
Source§impl Clone for SandboxTool
impl Clone for SandboxTool
impl Copy for SandboxTool
Source§impl Debug for SandboxTool
impl Debug for SandboxTool
impl Eq for SandboxTool
Source§impl PartialEq for SandboxTool
impl PartialEq for SandboxTool
impl StructuralPartialEq for SandboxTool
Auto Trait Implementations§
impl Freeze for SandboxTool
impl RefUnwindSafe for SandboxTool
impl Send for SandboxTool
impl Sync for SandboxTool
impl Unpin for SandboxTool
impl UnsafeUnpin for SandboxTool
impl UnwindSafe for SandboxTool
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.