pub enum BreakerRejection {
Busy,
Open {
generation: TimerGeneration,
},
Exhausted,
}Expand description
Why an admission request was declined.
Variants§
Busy
A previously admitted operation has not reported a result.
Open
The breaker is open.
Fields
§
generation: TimerGenerationExhausted
Numeric freshness is exhausted.
Trait Implementations§
Source§impl Clone for BreakerRejection
impl Clone for BreakerRejection
Source§fn clone(&self) -> BreakerRejection
fn clone(&self) -> BreakerRejection
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 BreakerRejection
impl Debug for BreakerRejection
Source§impl PartialEq for BreakerRejection
impl PartialEq for BreakerRejection
impl Copy for BreakerRejection
impl Eq for BreakerRejection
impl StructuralPartialEq for BreakerRejection
Auto Trait Implementations§
impl Freeze for BreakerRejection
impl RefUnwindSafe for BreakerRejection
impl Send for BreakerRejection
impl Sync for BreakerRejection
impl Unpin for BreakerRejection
impl UnsafeUnpin for BreakerRejection
impl UnwindSafe for BreakerRejection
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