pub struct BackendHealthSnapshot {
pub operation: OperationKind,
pub backend: Backend,
pub state: BackendHealthState,
pub generation: usize,
pub fault: Option<BackendFault>,
}Expand description
Atomic snapshot of one backend’s health latch.
Fields§
§operation: OperationKindOperation whose implementation is covered by the latch.
backend: BackendBackend covered by the latch.
state: BackendHealthStateCurrent process-local health state.
generation: usizeMonotonic process-local state generation.
fault: Option<BackendFault>Most recent integrity fault, when quarantined.
Trait Implementations§
Source§impl Clone for BackendHealthSnapshot
impl Clone for BackendHealthSnapshot
Source§fn clone(&self) -> BackendHealthSnapshot
fn clone(&self) -> BackendHealthSnapshot
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 BackendHealthSnapshot
Source§impl Debug for BackendHealthSnapshot
impl Debug for BackendHealthSnapshot
impl Eq for BackendHealthSnapshot
Source§impl PartialEq for BackendHealthSnapshot
impl PartialEq for BackendHealthSnapshot
impl StructuralPartialEq for BackendHealthSnapshot
Auto Trait Implementations§
impl Freeze for BackendHealthSnapshot
impl RefUnwindSafe for BackendHealthSnapshot
impl Send for BackendHealthSnapshot
impl Sync for BackendHealthSnapshot
impl Unpin for BackendHealthSnapshot
impl UnsafeUnpin for BackendHealthSnapshot
impl UnwindSafe for BackendHealthSnapshot
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