pub struct SyncInfo {
pub before: (CommitProof, CommitProof),
pub after: Option<CommitProof>,
pub status: SyncKind,
}Expand description
Information yielded after attempting synchronization.
Fields§
§before: (CommitProof, CommitProof)Local and remote proofs before synchronization.
after: Option<CommitProof>Proof after synchronization.
If the root hashes for local and remote are up to
date this will be None.
status: SyncKindThe status of the synchronization attempt.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SyncInfo
impl<'de> Deserialize<'de> for SyncInfo
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 RefUnwindSafe for SyncInfo
impl Send for SyncInfo
impl Sync for SyncInfo
impl Unpin for SyncInfo
impl UnwindSafe for SyncInfo
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