pub struct ResidentHostTransferScope { /* private fields */ }Expand description
A same-thread, provider-specific observation scope for one resident call. Dropping it removes attribution even when execution returns an error.
Implementations§
Source§impl ResidentHostTransferScope
impl ResidentHostTransferScope
pub fn snapshot(&self) -> ResidentHostTransferStats
Trait Implementations§
Source§impl Drop for ResidentHostTransferScope
impl Drop for ResidentHostTransferScope
Auto Trait Implementations§
impl !RefUnwindSafe for ResidentHostTransferScope
impl !Send for ResidentHostTransferScope
impl !Sync for ResidentHostTransferScope
impl !UnwindSafe for ResidentHostTransferScope
impl Freeze for ResidentHostTransferScope
impl Unpin for ResidentHostTransferScope
impl UnsafeUnpin for ResidentHostTransferScope
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