pub enum InitProcessError {
Show 34 variants
Sysctl(Error),
MountPathReadonly(SyscallError),
MountPathMasked(SyscallError),
Namespaces(NamespaceError),
SetHostname(SyscallError),
SetDomainname(SyscallError),
ReopenDevNull(Error),
NixOther(Error),
MissingSpec(MissingSpecError),
Tty(TTYError),
Hooks(HookError),
RootFS(RootfsError),
SyscallOther(SyscallError),
AppArmor(AppArmorError),
Pathrs(Error),
InvalidUmask(u32),
Seccomp(SeccompError),
InvalidExecutable(String),
Io(Error),
Channel(ChannelError),
SetGroupDisabled,
NotifyListener(NotifyListenerError),
Workload(ExecutorError),
WorkloadValidation(ExecutorValidationError),
WorkloadSetEnvs(ExecutorSetEnvsError),
IoPriorityClass(String),
SchedSetattr(String),
MemoryPolicy(MemoryPolicyError),
Network(NetworkError),
InvalidCwd(Error),
NoLinux,
NoProcess,
Device(DeviceError),
UnsupportedPersonalityFlag,
}Variants§
Sysctl(Error)
MountPathReadonly(SyscallError)
MountPathMasked(SyscallError)
Namespaces(NamespaceError)
SetHostname(SyscallError)
SetDomainname(SyscallError)
ReopenDevNull(Error)
NixOther(Error)
MissingSpec(MissingSpecError)
Tty(TTYError)
Hooks(HookError)
RootFS(RootfsError)
SyscallOther(SyscallError)
AppArmor(AppArmorError)
Pathrs(Error)
InvalidUmask(u32)
Seccomp(SeccompError)
InvalidExecutable(String)
Io(Error)
Channel(ChannelError)
SetGroupDisabled
NotifyListener(NotifyListenerError)
Workload(ExecutorError)
WorkloadValidation(ExecutorValidationError)
WorkloadSetEnvs(ExecutorSetEnvsError)
IoPriorityClass(String)
SchedSetattr(String)
MemoryPolicy(MemoryPolicyError)
Network(NetworkError)
InvalidCwd(Error)
NoLinux
NoProcess
Device(DeviceError)
UnsupportedPersonalityFlag
Trait Implementations§
Source§impl Debug for InitProcessError
impl Debug for InitProcessError
Source§impl Display for InitProcessError
impl Display for InitProcessError
Source§impl Error for InitProcessError
impl Error for InitProcessError
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<ChannelError> for InitProcessError
impl From<ChannelError> for InitProcessError
Source§fn from(source: ChannelError) -> Self
fn from(source: ChannelError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for InitProcessError
impl From<Error> for InitProcessError
Source§impl From<ExecutorError> for InitProcessError
impl From<ExecutorError> for InitProcessError
Source§fn from(source: ExecutorError) -> Self
fn from(source: ExecutorError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutorSetEnvsError> for InitProcessError
impl From<ExecutorSetEnvsError> for InitProcessError
Source§fn from(source: ExecutorSetEnvsError) -> Self
fn from(source: ExecutorSetEnvsError) -> Self
Converts to this type from the input type.
Source§impl From<ExecutorValidationError> for InitProcessError
impl From<ExecutorValidationError> for InitProcessError
Source§fn from(source: ExecutorValidationError) -> Self
fn from(source: ExecutorValidationError) -> Self
Converts to this type from the input type.
Source§impl From<HookError> for InitProcessError
impl From<HookError> for InitProcessError
Source§impl From<MemoryPolicyError> for InitProcessError
impl From<MemoryPolicyError> for InitProcessError
Source§fn from(source: MemoryPolicyError) -> Self
fn from(source: MemoryPolicyError) -> Self
Converts to this type from the input type.
Source§impl From<MissingSpecError> for InitProcessError
impl From<MissingSpecError> for InitProcessError
Source§fn from(source: MissingSpecError) -> Self
fn from(source: MissingSpecError) -> Self
Converts to this type from the input type.
Source§impl From<NamespaceError> for InitProcessError
impl From<NamespaceError> for InitProcessError
Source§fn from(source: NamespaceError) -> Self
fn from(source: NamespaceError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for InitProcessError
impl From<NetworkError> for InitProcessError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<NotifyListenerError> for InitProcessError
impl From<NotifyListenerError> for InitProcessError
Source§fn from(source: NotifyListenerError) -> Self
fn from(source: NotifyListenerError) -> Self
Converts to this type from the input type.
Source§impl From<SeccompError> for InitProcessError
impl From<SeccompError> for InitProcessError
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 InitProcessError
impl !RefUnwindSafe for InitProcessError
impl Send for InitProcessError
impl Sync for InitProcessError
impl Unpin for InitProcessError
impl UnsafeUnpin for InitProcessError
impl !UnwindSafe for InitProcessError
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more