pub struct SyncState { /* private fields */ }
Expand description

Current sync state. Encapsulates the current SyncStatus.

Implementations

Return a new SyncState initialize to NoSync

Whether the current state matches any active syncing operation. Note: This includes our “initial” state.

Current syncing status

Update the syncing status

Update txhashset downloading progress

Communicate sync error

Get sync error

Clear sync error

Trait Implementations

First setup of the txhashset

Starting kernel validation

Starting rproof validation

Starting to save the txhashset and related data

Done writing a new txhashset

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Given ptr, which was obtained from a prior call to Self::borrow(), return a value with the same nominal lifetime which is guaranteed to survive mutations to Self. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.