pub struct SyncTarget {
pub link: Link,
pub height: u64,
pub peer_id: PublicKey,
}Expand description
Target peer and state for bucket synchronization
Fields§
§link: LinkLink to the target bucket state
height: u64Height of the target bucket
peer_id: PublicKeyPublic key of the peer to sync from
Trait Implementations§
Source§impl Clone for SyncTarget
impl Clone for SyncTarget
Source§fn clone(&self) -> SyncTarget
fn clone(&self) -> SyncTarget
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SyncTarget
impl RefUnwindSafe for SyncTarget
impl Send for SyncTarget
impl Sync for SyncTarget
impl Unpin for SyncTarget
impl UnwindSafe for SyncTarget
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