pub struct ResourceMeterStack { /* private fields */ }Implementations§
Source§impl ResourceMeterStack
impl ResourceMeterStack
pub fn new() -> Self
pub fn push<T: Into<String>>(&mut self, key: T)
pub fn pop(&mut self)
pub fn into_report(self, format: ReportFormat) -> Report
pub fn finish(self) -> TreeReport
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResourceMeterStack
impl RefUnwindSafe for ResourceMeterStack
impl Send for ResourceMeterStack
impl Sync for ResourceMeterStack
impl Unpin for ResourceMeterStack
impl UnwindSafe for ResourceMeterStack
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