pub struct Admit<'a> {
pub env: &'a EnvOptions,
pub meter: &'a Arc<Meter>,
pub hooks: &'a dyn Hooks,
pub max_evictions: u64,
}Fields§
§env: &'a EnvOptionsThe private Environment’s options: EnvOptions::batch(ctx_X) with
dep_cache_bytes set to D (2.2); its context’s limits and budget
are the attempt’s.
meter: &'a Arc<Meter>M_X.
hooks: &'a dyn HooksThe stop flag and the refusal count.
max_evictions: u64max_attempt_evictions.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Admit<'a>
impl<'a> !Send for Admit<'a>
impl<'a> !Sync for Admit<'a>
impl<'a> !UnwindSafe for Admit<'a>
impl<'a> Forget for Admit<'a>
impl<'a> Freeze for Admit<'a>
impl<'a> Move for Admit<'a>
impl<'a> Unpin for Admit<'a>
impl<'a> UnsafeUnpin for Admit<'a>
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