pub enum Admit {
Fresh,
Duplicate,
}Expand description
Whether a resolution is the first for its request, or a duplicate.
Variants§
Fresh
First terminal resolution of this request — account for it.
Duplicate
Already resolved (a retry, or a slow success after a timeout) — ignore; counting it again would double-count the request.
Trait Implementations§
impl Copy for Admit
impl Eq for Admit
impl StructuralPartialEq for Admit
Auto Trait Implementations§
impl Freeze for Admit
impl RefUnwindSafe for Admit
impl Send for Admit
impl Sync for Admit
impl Unpin for Admit
impl UnsafeUnpin for Admit
impl UnwindSafe for Admit
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