pub trait UnauthorisedInstanceRefAExt<A> {
// Required methods
fn lock<'r>(
&'r self,
) -> Result<Unauthorised<InstanceGuard<'r>, A>, GameBeingDestroyed>;
fn lock_even_destroying<'r>(&'r self) -> Unauthorised<InstanceGuard<'r>, A>;
fn lock_bundles<'r>(
&'r self,
) -> Unauthorised<MutexGuard<'r, RawMutex, InstanceBundles>, A>;
}Required Methods§
fn lock<'r>( &'r self, ) -> Result<Unauthorised<InstanceGuard<'r>, A>, GameBeingDestroyed>
fn lock_even_destroying<'r>(&'r self) -> Unauthorised<InstanceGuard<'r>, A>
fn lock_bundles<'r>( &'r self, ) -> Unauthorised<MutexGuard<'r, RawMutex, InstanceBundles>, A>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".