pub struct PerfEventOpenArgs {
pub attr: AddressType,
pub pid: pid_t,
pub cpu: c_int,
pub group_fd: RawFd,
pub flags: c_ulong,
}Fields§
§attr: AddressType§pid: pid_t§cpu: c_int§group_fd: RawFd§flags: c_ulongTrait Implementations§
Source§impl Clone for PerfEventOpenArgs
impl Clone for PerfEventOpenArgs
Source§fn clone(&self) -> PerfEventOpenArgs
fn clone(&self) -> PerfEventOpenArgs
Returns a duplicate 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 moreSource§impl Debug for PerfEventOpenArgs
impl Debug for PerfEventOpenArgs
Source§impl From<PerfEventOpenArgs> for SyscallArgs
impl From<PerfEventOpenArgs> for SyscallArgs
Source§fn from(args: PerfEventOpenArgs) -> Self
fn from(args: PerfEventOpenArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PerfEventOpenArgs
impl PartialEq for PerfEventOpenArgs
Source§impl SyscallGroupsGetter for PerfEventOpenArgs
impl SyscallGroupsGetter for PerfEventOpenArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for PerfEventOpenArgs
impl SyscallNumber for PerfEventOpenArgs
fn syscall_number(&self) -> isize
impl StructuralPartialEq for PerfEventOpenArgs
Auto Trait Implementations§
impl Freeze for PerfEventOpenArgs
impl RefUnwindSafe for PerfEventOpenArgs
impl !Send for PerfEventOpenArgs
impl !Sync for PerfEventOpenArgs
impl Unpin for PerfEventOpenArgs
impl UnwindSafe for PerfEventOpenArgs
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