pub enum ChainSync {
RequestNext,
AwaitReply,
RollForward(SerializedHeader, Tip),
RollBackward(Point, Tip),
FindIntersect(Points),
IntersectionFound(Point, Tip),
IntersectionNotFound(Tip),
SyncDone,
}
Variants§
RequestNext
AwaitReply
RollForward(SerializedHeader, Tip)
RollBackward(Point, Tip)
FindIntersect(Points)
IntersectionFound(Point, Tip)
IntersectionNotFound(Tip)
SyncDone
Trait Implementations§
Source§impl<'_enum> From<&'_enum ChainSync> for ChainSyncKind
impl<'_enum> From<&'_enum ChainSync> for ChainSyncKind
Source§fn from(val: &'_enum ChainSync) -> ChainSyncKind
fn from(val: &'_enum ChainSync) -> ChainSyncKind
Converts to this type from the input type.
Source§impl From<ChainSync> for ChainSyncKind
impl From<ChainSync> for ChainSyncKind
Source§fn from(val: ChainSync) -> ChainSyncKind
fn from(val: ChainSync) -> ChainSyncKind
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChainSync
impl RefUnwindSafe for ChainSync
impl Send for ChainSync
impl Sync for ChainSync
impl Unpin for ChainSync
impl UnwindSafe for ChainSync
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