pub enum MemberState {
Running {
since: SystemTime,
},
GivenUp {
after: u32,
},
Stopped,
}Expand description
What a member is doing, as a snapshot reports it.
Variants§
Running
The member’s future is running, or is waiting out a backoff before its next run.
Fields
§
since: SystemTimeGivenUp
The member died and its restart budget is spent.
Stopped
The member was stopped deliberately, or a report-only member returned on its own.
Trait Implementations§
Source§impl Clone for MemberState
impl Clone for MemberState
Source§impl Debug for MemberState
impl Debug for MemberState
impl Eq for MemberState
Source§impl PartialEq for MemberState
impl PartialEq for MemberState
impl StructuralPartialEq for MemberState
Auto Trait Implementations§
impl Freeze for MemberState
impl RefUnwindSafe for MemberState
impl Send for MemberState
impl Sync for MemberState
impl Unpin for MemberState
impl UnsafeUnpin for MemberState
impl UnwindSafe for MemberState
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