pub enum CreateCgroupSetupError {
WrappedIo(WrappedIoError),
NonDefault,
FailedToDetect,
V1(V1ManagerError),
V2(V2ManagerError),
Systemd(SystemdManagerError),
}Variants§
WrappedIo(WrappedIoError)
NonDefault
FailedToDetect
V1(V1ManagerError)
V2(V2ManagerError)
Systemd(SystemdManagerError)
Trait Implementations§
Source§impl Debug for CreateCgroupSetupError
impl Debug for CreateCgroupSetupError
Source§impl Display for CreateCgroupSetupError
impl Display for CreateCgroupSetupError
Source§impl Error for CreateCgroupSetupError
impl Error for CreateCgroupSetupError
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<SystemdManagerError> for CreateCgroupSetupError
impl From<SystemdManagerError> for CreateCgroupSetupError
Source§fn from(source: SystemdManagerError) -> Self
fn from(source: SystemdManagerError) -> Self
Converts to this type from the input type.
Source§impl From<V1ManagerError> for CreateCgroupSetupError
impl From<V1ManagerError> for CreateCgroupSetupError
Source§fn from(source: V1ManagerError) -> Self
fn from(source: V1ManagerError) -> Self
Converts to this type from the input type.
Source§impl From<V2ManagerError> for CreateCgroupSetupError
impl From<V2ManagerError> for CreateCgroupSetupError
Source§fn from(source: V2ManagerError) -> Self
fn from(source: V2ManagerError) -> Self
Converts to this type from the input type.
Source§impl From<WrappedIoError> for CreateCgroupSetupError
impl From<WrappedIoError> for CreateCgroupSetupError
Source§fn from(source: WrappedIoError) -> Self
fn from(source: WrappedIoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateCgroupSetupError
impl !RefUnwindSafe for CreateCgroupSetupError
impl Send for CreateCgroupSetupError
impl Sync for CreateCgroupSetupError
impl Unpin for CreateCgroupSetupError
impl !UnwindSafe for CreateCgroupSetupError
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