[−][src]Enum cgroups_rs::error::ErrorKind
The different types of errors that can occur while manipulating control groups.
Variants
Common(String)
An error occured while writing to a control group file.
An error occured while trying to read from a control group file.
An error occured while trying to remove a control group.
An error occured while trying to parse a value from a control group file.
In the future, there will be some information attached to this field.
You tried to do something invalid.
This could be because you tried to set a value in a control group that is not a root control group. Or, when using unified hierarchy, you tried to add a task in a leaf node.
The path of the control group was invalid.
This could be caused by trying to escape the control group filesystem via a string of "..". This crate checks against this and operations will fail with this error.
An unknown error has occured.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Eq for ErrorKind
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl StructuralEq for ErrorKind
[src]
impl StructuralPartialEq for ErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
[src]
impl Send for ErrorKind
[src]
impl Sync for ErrorKind
[src]
impl Unpin for ErrorKind
[src]
impl UnwindSafe for ErrorKind
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,