#[non_exhaustive]pub enum SandboxUnavailableReason {
UserNamespacesDenied,
BubblewrapUnavailable,
Unknown(String),
}Expand description
Why sandbox enforcement is impossible on this host. Sent only when
SandboxAvailability is unavailable; a client MUST NOT infer a
reason when none is sent. Open: a future reason arrives as a new
value, read by older clients as unknown.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UserNamespacesDenied
Bubblewrap exists but cannot create user namespaces.
No capability-valid system bwrap on PATH and no usable embedded fallback.
Unknown(String)
A value introduced by a newer host, preserved for the same reason
as SandboxAvailability::Unknown.
Implementations§
Trait Implementations§
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
Auto Trait Implementations§
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