pub enum ProviderBlock {
CircuitOpen {
retry_after: Duration,
},
Saturated,
}Expand description
Why a permit was refused.
Variants§
Trait Implementations§
Source§impl Clone for ProviderBlock
impl Clone for ProviderBlock
Source§fn clone(&self) -> ProviderBlock
fn clone(&self) -> ProviderBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProviderBlock
impl Debug for ProviderBlock
impl Eq for ProviderBlock
Source§impl PartialEq for ProviderBlock
impl PartialEq for ProviderBlock
impl StructuralPartialEq for ProviderBlock
Auto Trait Implementations§
impl Freeze for ProviderBlock
impl RefUnwindSafe for ProviderBlock
impl Send for ProviderBlock
impl Sync for ProviderBlock
impl Unpin for ProviderBlock
impl UnsafeUnpin for ProviderBlock
impl UnwindSafe for ProviderBlock
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