pub trait Admit<C: Context>: Sized {
type Admission<'a>: Guard<C> + Retain<C>
where Self: 'a;
// Required method
fn try_admit(&mut self) -> Result<Self::Admission<'_>, Full>;
}Expand description
Reserves native capacity without consuming the host’s operation ownership.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".