pub struct CgroupLinkInfo {
pub cgroup_id: u64,
pub attach_type: ProgramAttachType,
}
Expand description
Information about a cgroup link
Fields§
§cgroup_id: u64
Identifier of the target cgroup.
attach_type: ProgramAttachType
Attachment type for cgroup-based programs.
Trait Implementations§
Source§impl Clone for CgroupLinkInfo
impl Clone for CgroupLinkInfo
Source§fn clone(&self) -> CgroupLinkInfo
fn clone(&self) -> CgroupLinkInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CgroupLinkInfo
impl RefUnwindSafe for CgroupLinkInfo
impl Send for CgroupLinkInfo
impl Sync for CgroupLinkInfo
impl Unpin for CgroupLinkInfo
impl UnwindSafe for CgroupLinkInfo
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