pub struct Prepared {
pub path: PathBuf,
pub created: bool,
pub warnings: Vec<String>,
}Expand description
Result of CgroupManager::prepare_cgroup.
Fields§
§path: PathBufAbsolute path of the cgroup directory.
created: boolWhether this call created the directory (false when it already existed).
warnings: Vec<String>Non-fatal problems, such as I/O limits the kernel refused.
Trait Implementations§
impl Eq for Prepared
impl StructuralPartialEq for Prepared
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.