pub enum DisableOutcome {
AlreadyDisabled,
Closing {
generation_id: u64,
inflight_captured_requests: u64,
},
Finalized {
generation_id: u64,
},
}Expand description
Outcome of calling TailtriageController::disable.
Variants§
AlreadyDisabled
Controller was already disarmed.
Closing
Active generation is closing and will finalize once in-flight requests drain.
Fields
Finalized
Active generation finalized immediately.
Trait Implementations§
Source§impl Clone for DisableOutcome
impl Clone for DisableOutcome
Source§fn clone(&self) -> DisableOutcome
fn clone(&self) -> DisableOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisableOutcome
impl Debug for DisableOutcome
Source§impl PartialEq for DisableOutcome
impl PartialEq for DisableOutcome
impl Copy for DisableOutcome
impl Eq for DisableOutcome
impl StructuralPartialEq for DisableOutcome
Auto Trait Implementations§
impl Freeze for DisableOutcome
impl RefUnwindSafe for DisableOutcome
impl Send for DisableOutcome
impl Sync for DisableOutcome
impl Unpin for DisableOutcome
impl UnsafeUnpin for DisableOutcome
impl UnwindSafe for DisableOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.