pub struct NativeGenerationHandle<T> { /* private fields */ }Expand description
Typed authority grant; cloning it does not grant admission or extend a lease.
Implementations§
Source§impl<T> NativeGenerationHandle<T>
impl<T> NativeGenerationHandle<T>
Sourcepub fn acquire(&self) -> Result<NativeGenerationLease<T>, RuntimeFailure>
pub fn acquire(&self) -> Result<NativeGenerationLease<T>, RuntimeFailure>
Retain this lease for the complete operation, including spawned work.
Trait Implementations§
Source§impl<T> Clone for NativeGenerationHandle<T>
impl<T> Clone for NativeGenerationHandle<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for NativeGenerationHandle<T>
impl<T> !Send for NativeGenerationHandle<T>
impl<T> !Sync for NativeGenerationHandle<T>
impl<T> !UnwindSafe for NativeGenerationHandle<T>
impl<T> Freeze for NativeGenerationHandle<T>
impl<T> Unpin for NativeGenerationHandle<T>
impl<T> UnsafeUnpin for NativeGenerationHandle<T>where
Rc<T>: UnsafeUnpin,
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