pub struct ObjectStatus {
pub root: Txid,
pub verified_generation: u64,
pub payload_bytes: u64,
pub members_total: u64,
pub members_local: u64,
pub members_selected: u64,
pub pinned: bool,
}Expand description
A successful complete reconstruction, distinct from interval coverage. Counts describe the current archive snapshot. A reorg can leave all bytes available locally while some memberships no longer belong to the selected chain.
Fields§
§root: Txid§verified_generation: u64§payload_bytes: u64§members_total: u64§members_local: u64§members_selected: u64Previously verified placements still selected, independent of eviction.
pinned: boolImplementations§
Source§impl ObjectStatus
impl ObjectStatus
pub fn locally_complete(&self) -> bool
pub fn selected_complete(&self) -> bool
Trait Implementations§
Source§impl Clone for ObjectStatus
impl Clone for ObjectStatus
Source§impl Debug for ObjectStatus
impl Debug for ObjectStatus
Source§impl<'de> Deserialize<'de> for ObjectStatus
impl<'de> Deserialize<'de> for ObjectStatus
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
Auto Trait Implementations§
impl Freeze for ObjectStatus
impl RefUnwindSafe for ObjectStatus
impl Send for ObjectStatus
impl Sync for ObjectStatus
impl Unpin for ObjectStatus
impl UnsafeUnpin for ObjectStatus
impl UnwindSafe for ObjectStatus
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