Struct garage_rpc::layout::UpdateTrackers
source · pub struct UpdateTrackers {
pub ack_map: UpdateTracker,
pub sync_map: UpdateTracker,
pub sync_ack_map: UpdateTracker,
}
Expand description
The tracker of acknowlegments and data syncs around the cluster
Fields§
§ack_map: UpdateTracker
The highest layout version number each node has ack’ed
sync_map: UpdateTracker
The highest layout version number each node has synced data for
sync_ack_map: UpdateTracker
The highest layout version number each node has ack’ed that all other nodes have synced data for
Trait Implementations§
source§impl Clone for UpdateTrackers
impl Clone for UpdateTrackers
source§fn clone(&self) -> UpdateTrackers
fn clone(&self) -> UpdateTrackers
Returns a copy 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 UpdateTrackers
impl Debug for UpdateTrackers
source§impl Default for UpdateTrackers
impl Default for UpdateTrackers
source§fn default() -> UpdateTrackers
fn default() -> UpdateTrackers
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateTrackers
impl<'de> Deserialize<'de> for UpdateTrackers
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for UpdateTrackers
impl PartialEq for UpdateTrackers
source§fn eq(&self, other: &UpdateTrackers) -> bool
fn eq(&self, other: &UpdateTrackers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UpdateTrackers
impl Serialize for UpdateTrackers
impl StructuralPartialEq for UpdateTrackers
Auto Trait Implementations§
impl Freeze for UpdateTrackers
impl RefUnwindSafe for UpdateTrackers
impl Send for UpdateTrackers
impl Sync for UpdateTrackers
impl Unpin for UpdateTrackers
impl UnwindSafe for UpdateTrackers
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