#[non_exhaustive]pub struct ArchiveStatus {Show 14 fields
pub api_version: u32,
pub chain_genesis: BlockHash,
pub application_start: ChainPoint,
pub retention: Retention,
pub generation: u64,
pub selected_tip: Option<ChainPoint>,
pub indexed_through: Option<ChainPoint>,
pub scanned_blocks: u64,
pub unresolved_dependencies: u64,
pub stored_transactions: u64,
pub scan_rules_version: u32,
pub peer_synced_through: Option<ChainPoint>,
pub peer_omissions: u64,
pub unaudited_records: u64,
}Expand description
Status structs are non_exhaustive: build them from Default and assign
fields, so additive fields stay non-breaking.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.api_version: u32§chain_genesis: BlockHash§application_start: ChainPoint§retention: Retention§generation: u64§selected_tip: Option<ChainPoint>§indexed_through: Option<ChainPoint>Contiguous fully scanned and dependency-resolved prefix from app start. This does not assert full consensus validation or local object retention.
scanned_blocks: u64§unresolved_dependencies: u64§stored_transactions: u64§scan_rules_version: u32§peer_synced_through: Option<ChainPoint>Highest height whose prefix from app start lies in current peer coverage.
peer_omissions: u64Selected placements a covering peer did not list, found by a later scan.
unaudited_records: u64Selected records admitted selectively whose block has not been scanned.
Trait Implementations§
Source§impl Clone for ArchiveStatus
impl Clone for ArchiveStatus
Source§fn clone(&self) -> ArchiveStatus
fn clone(&self) -> ArchiveStatus
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 moreSource§impl Debug for ArchiveStatus
impl Debug for ArchiveStatus
Source§impl Default for ArchiveStatus
impl Default for ArchiveStatus
Source§fn default() -> ArchiveStatus
fn default() -> ArchiveStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArchiveStatus
impl<'de> Deserialize<'de> for ArchiveStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArchiveStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArchiveStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ArchiveStatus
impl Serialize for ArchiveStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ArchiveStatus
impl RefUnwindSafe for ArchiveStatus
impl Send for ArchiveStatus
impl Sync for ArchiveStatus
impl Unpin for ArchiveStatus
impl UnsafeUnpin for ArchiveStatus
impl UnwindSafe for ArchiveStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more