pub struct StallProviderImpl { /* private fields */ }
Implementations§
Source§impl StallProviderImpl
impl StallProviderImpl
Sourcepub fn new(
stall_resource: Arc<dyn StallResource>,
) -> Result<StallProviderImpl, Error>
pub fn new( stall_resource: Arc<dyn StallResource>, ) -> Result<StallProviderImpl, Error>
Create a new StallProviderImpl, wrapping a StallResource.
Trait Implementations§
Source§impl Clone for StallProviderImpl
impl Clone for StallProviderImpl
Source§fn clone(&self) -> StallProviderImpl
fn clone(&self) -> StallProviderImpl
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 StallProvider for StallProviderImpl
impl StallProvider for StallProviderImpl
Source§fn get_stall_info(&self) -> Result<MemoryStallMetrics, Error>
fn get_stall_info(&self) -> Result<MemoryStallMetrics, Error>
Return the current memory stall values from the kernel.
Auto Trait Implementations§
impl Freeze for StallProviderImpl
impl !RefUnwindSafe for StallProviderImpl
impl Send for StallProviderImpl
impl Sync for StallProviderImpl
impl Unpin for StallProviderImpl
impl !UnwindSafe for StallProviderImpl
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