pub enum BreakerTransition {
Opened,
Closed,
}Expand description
A breaker state transition worth surfacing (RFC 0018 §4.4/§8).
Variants§
Trait Implementations§
Source§impl Clone for BreakerTransition
impl Clone for BreakerTransition
Source§fn clone(&self) -> BreakerTransition
fn clone(&self) -> BreakerTransition
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 moreimpl Copy for BreakerTransition
Source§impl Debug for BreakerTransition
impl Debug for BreakerTransition
impl Eq for BreakerTransition
Source§impl PartialEq for BreakerTransition
impl PartialEq for BreakerTransition
impl StructuralPartialEq for BreakerTransition
Auto Trait Implementations§
impl Freeze for BreakerTransition
impl RefUnwindSafe for BreakerTransition
impl Send for BreakerTransition
impl Sync for BreakerTransition
impl Unpin for BreakerTransition
impl UnsafeUnpin for BreakerTransition
impl UnwindSafe for BreakerTransition
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