pub enum ResourceReference {
KernelObject(u64),
ProcessMapped {
process: u64,
base: u64,
len: u64,
},
}
Expand description
Variants§
KernelObject(u64)
Identifies a kernel object whose memory is being attributed.
Refers to all memory held by VMOs reachable from the object (currently a Job, Process or VMO).
ProcessMapped
Identifies a part of a process address space.
Trait Implementations§
Source§impl Clone for ResourceReference
impl Clone for ResourceReference
Source§fn clone(&self) -> ResourceReference
fn clone(&self) -> ResourceReference
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 moreSource§impl From<ResourceReference> for ResourceReference
impl From<ResourceReference> for ResourceReference
Source§fn from(value: ResourceReference) -> ResourceReference
fn from(value: ResourceReference) -> ResourceReference
Converts to this type from the input type.
Source§impl Into<ResourceReference> for ResourceReference
impl Into<ResourceReference> for ResourceReference
Source§fn into(self) -> ResourceReference
fn into(self) -> ResourceReference
Converts this type into the (usually inferred) input type.
impl Copy for ResourceReference
Auto Trait Implementations§
impl Freeze for ResourceReference
impl RefUnwindSafe for ResourceReference
impl Send for ResourceReference
impl Sync for ResourceReference
impl Unpin for ResourceReference
impl UnwindSafe for ResourceReference
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