pub struct NativeGenerationScope { /* private fields */ }Expand description
Host-owned guard; a new guard is required for every complete App generation.
Implementations§
Source§impl NativeGenerationScope
impl NativeGenerationScope
pub fn new() -> Self
Sourcepub fn context(&self) -> NativeGenerationContext
pub fn context(&self) -> NativeGenerationContext
Private resolver input for source-owned factories; not an ambient registry.
Sourcepub async fn retire(&self) -> Result<(), RuntimeFailure>
pub async fn retire(&self) -> Result<(), RuntimeFailure>
Drain and revoke exactly once. Dropping this future retains physical cleanup.
Trait Implementations§
Source§impl Debug for NativeGenerationScope
impl Debug for NativeGenerationScope
Source§impl Default for NativeGenerationScope
impl Default for NativeGenerationScope
Source§impl Drop for NativeGenerationScope
impl Drop for NativeGenerationScope
Auto Trait Implementations§
impl !RefUnwindSafe for NativeGenerationScope
impl !Send for NativeGenerationScope
impl !Sync for NativeGenerationScope
impl !UnwindSafe for NativeGenerationScope
impl Freeze for NativeGenerationScope
impl Unpin for NativeGenerationScope
impl UnsafeUnpin for NativeGenerationScope
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