pub trait RetainedUseGeneration:
Send
+ Sync
+ 'static {
// Required method
fn use_generation(&self) -> &UseCapabilityGeneration;
}Expand description
Host adapter for the exact non-clone lease returned by A3S Use.
Implementations retain the real
a3s_use::capability_registry::CapabilitySnapshotLease (or an equivalent
host wrapper) as part of self. Code consumes the value at Run admission
and drops it only after every child, task, and effect has settled.
Required Methods§
fn use_generation(&self) -> &UseCapabilityGeneration
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".