pub struct CGroup<'a> {
pub id: u64,
pub path: Cow<'a, [u8]>,
}
Expand description
CGROUP records indicate when a new cgroup is created and activated.
This struct corresponds to PERF_RECORD_CGROUP
. See the manpage for more
documentation.
Fields§
§id: u64
The cgroup ID.
path: Cow<'a, [u8]>
Path of the cgroup from the root.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CGroup<'a>
impl<'a> RefUnwindSafe for CGroup<'a>
impl<'a> Send for CGroup<'a>
impl<'a> Sync for CGroup<'a>
impl<'a> Unpin for CGroup<'a>
impl<'a> UnwindSafe for CGroup<'a>
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