Enum raftstore::store::msg::SignificantMsg [−][src]
pub enum SignificantMsg<SK> where
SK: Snapshot, { SnapshotStatus { region_id: u64, to_peer_id: u64, status: SnapshotStatus, }, StoreUnreachable { store_id: u64, }, Unreachable { region_id: u64, to_peer_id: u64, }, CatchUpLogs(CatchUpLogs), MergeResult { target_region_id: u64, target: Peer, result: MergeResultKind, }, StoreResolved { store_id: u64, group_id: u64, }, CaptureChange { cmd: ChangeObserver, region_epoch: RegionEpoch, callback: Callback<SK>, }, LeaderCallback(Callback<SK>), }
Some significant messages sent to raftstore. Raftstore will dispatch these messages to Raft groups to update some important internal status.
Variants
Reports whether the snapshot sending is successful or not.
Fields of SnapshotStatus
Fields of StoreUnreachable
store_id: u64
Reports to_peer_id
is unreachable.
CatchUpLogs(CatchUpLogs)
Source region catch up logs for merging
Result of the fact that the region is merged.
Fields of MergeResult
Capture the changes of the region.
Fields of CaptureChange
LeaderCallback(Callback<SK>)
Trait Implementations
Auto Trait Implementations
impl<SK> !RefUnwindSafe for SignificantMsg<SK>
impl<SK> Send for SignificantMsg<SK>
impl<SK> !Sync for SignificantMsg<SK>
impl<SK> Unpin for SignificantMsg<SK>
impl<SK> !UnwindSafe for SignificantMsg<SK>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<V, W> ConvertFrom<W> for V where
W: ConvertTo<V>,
[src][+]
W: ConvertTo<V>,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,