pub enum ConfinementError {
LandlockUnavailable(String),
InsufficientAbi {
required: u32,
actual: u32,
feature: String,
},
Landlock(String),
Seccomp(SeccompError),
}Variants§
Trait Implementations§
Source§impl Debug for ConfinementError
impl Debug for ConfinementError
Source§impl Display for ConfinementError
impl Display for ConfinementError
Source§impl Error for ConfinementError
impl Error for ConfinementError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ConfinementError> for SandboxError
impl From<ConfinementError> for SandboxError
Source§fn from(source: ConfinementError) -> Self
fn from(source: ConfinementError) -> Self
Converts to this type from the input type.
Source§impl From<SeccompError> for ConfinementError
impl From<SeccompError> for ConfinementError
Source§fn from(source: SeccompError) -> Self
fn from(source: SeccompError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfinementError
impl !RefUnwindSafe for ConfinementError
impl Send for ConfinementError
impl Sync for ConfinementError
impl Unpin for ConfinementError
impl UnsafeUnpin for ConfinementError
impl !UnwindSafe for ConfinementError
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