pub struct Canary { /* private fields */ }
Expand description
An opaque type that reports when it is dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Canary
impl !RefUnwindSafe for Canary
impl !Send for Canary
impl !Sync for Canary
impl Unpin for Canary
impl !UnwindSafe for Canary
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