pub enum SandboxRuntimeError {
Fork(Error),
Confinement(ConfinementError),
Child(String),
Branch(BranchError),
NotRunning,
Io(Error),
}Expand description
Errors from the sandbox process runtime (fork, confinement, child, etc.).
Variants§
Trait Implementations§
Source§impl Debug for SandboxRuntimeError
impl Debug for SandboxRuntimeError
Source§impl Display for SandboxRuntimeError
impl Display for SandboxRuntimeError
Source§impl Error for SandboxRuntimeError
impl Error for SandboxRuntimeError
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<BranchError> for SandboxRuntimeError
impl From<BranchError> for SandboxRuntimeError
Source§fn from(source: BranchError) -> Self
fn from(source: BranchError) -> Self
Converts to this type from the input type.
Source§impl From<ConfinementError> for SandboxRuntimeError
impl From<ConfinementError> for SandboxRuntimeError
Source§fn from(source: ConfinementError) -> Self
fn from(source: ConfinementError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SandboxRuntimeError
impl From<Error> for SandboxRuntimeError
Source§impl From<SandboxRuntimeError> for SandlockError
impl From<SandboxRuntimeError> for SandlockError
Source§fn from(source: SandboxRuntimeError) -> Self
fn from(source: SandboxRuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SandboxRuntimeError
impl !UnwindSafe for SandboxRuntimeError
impl Freeze for SandboxRuntimeError
impl Send for SandboxRuntimeError
impl Sync for SandboxRuntimeError
impl Unpin for SandboxRuntimeError
impl UnsafeUnpin for SandboxRuntimeError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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