pub struct PinHandle(/* private fields */);Expand description
A handle to a pinned snapshot. Dropping this handle releases the pin.
Internally stores a heap handle for O(log N) removal.
Implementations§
Trait Implementations§
impl Copy for PinHandle
impl Eq for PinHandle
impl StructuralPartialEq for PinHandle
Auto Trait Implementations§
impl Freeze for PinHandle
impl RefUnwindSafe for PinHandle
impl Send for PinHandle
impl Sync for PinHandle
impl Unpin for PinHandle
impl UnwindSafe for PinHandle
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