pub struct AttributionData {
pub principals_vec: Vec<Principal>,
pub resources_vec: Vec<Resource>,
pub resource_names: Vec<ZXName>,
pub attributions: Vec<Attribution>,
}Expand description
Capture of the current memory usage of a device, as retrieved through the memory attribution protocol. In this object, memory attribution is not resolved.
Fields§
§principals_vec: Vec<Principal>§resources_vec: Vec<Resource>§resource_names: Vec<ZXName>§attributions: Vec<Attribution>Trait Implementations§
Source§impl ResourceEnumerator for AttributionData
impl ResourceEnumerator for AttributionData
Source§fn for_each_resource(
&self,
visitor: &mut impl ResourcesVisitor,
) -> Result<(), Error>
fn for_each_resource( &self, visitor: &mut impl ResourcesVisitor, ) -> Result<(), Error>
Enumerates Jobs, Processes and VMOs and call back the visitor.
Auto Trait Implementations§
impl Freeze for AttributionData
impl RefUnwindSafe for AttributionData
impl Send for AttributionData
impl Sync for AttributionData
impl Unpin for AttributionData
impl UnwindSafe for AttributionData
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