#[repr(u8)]pub enum DmsgType {
Show 17 variants
Unknown = 0,
Debug = 1,
ParseError = 2,
Req = 3,
ReqForward = 4,
Res = 5,
CryptoHandshake = 6,
GossipSyn = 7,
GossipSynReply = 8,
GossipAck = 9,
GossipDigestSyn = 10,
GossipDigestAck = 11,
GossipDigestAck2 = 12,
GossipShutdown = 13,
HandoffChunk = 14,
FtSearchReq = 15,
FtSearchRep = 16,
}Expand description
DNODE message type identifier.
The numeric values match dmsg_type_t from the reference engine
because the discriminator travels on the wire as a decimal.
Variants§
Unknown = 0
Unset / unknown type.
Debug = 1
Diagnostic frame (unused on the live wire; kept for parity).
ParseError = 2
Parse-error frame (unused on the live wire; kept for parity).
Req = 3
Datastore request bound for the local DC.
ReqForward = 4
Datastore request to be forwarded across DCs.
Res = 5
Datastore response.
CryptoHandshake = 6
AES key handshake.
GossipSyn = 7
Gossip SYN.
GossipSynReply = 8
Gossip SYN reply.
GossipAck = 9
Gossip ACK.
GossipDigestSyn = 10
Gossip digest SYN.
GossipDigestAck = 11
Gossip digest ACK.
GossipDigestAck2 = 12
Gossip digest ACK round 2.
GossipShutdown = 13
Gossip shutdown notice.
HandoffChunk = 14
Explicit handoff chunk frame.
Carries one chunk of a token-range handoff stream from the previous owner of the range to the new owner. Distinct from the AAE exchange variants so the receiver can route handoff frames to the dedicated handoff coordinator without parsing the payload first.
FtSearchReq = 15
Cluster-wide RediSearch FT.SEARCH request frame.
Sent by the FT.SEARCH coordinator on the node that
received the client request to every primary peer
covering the index’s key range. The payload encodes a
crate::vector::query_fsm::BroadcastRequest (table
name, serialised query body, top-K). Routed by the
dispatcher to the dedicated FT.SEARCH coordinator FSM
instead of the data-plane stack so the per-peer query
runs against the local registry rather than being
re-forwarded.
FtSearchRep = 16
Cluster-wide RediSearch FT.SEARCH reply frame.
Returned by every peer that received a Self::FtSearchReq
once its local search completed (or the per-peer
deadline elapsed). The payload encodes the per-peer
top-K hit list plus a timed_out flag the coordinator
uses to mark partial results.
Implementations§
Trait Implementations§
impl Copy for DmsgType
impl Eq for DmsgType
impl StructuralPartialEq for DmsgType
Auto Trait Implementations§
impl Freeze for DmsgType
impl RefUnwindSafe for DmsgType
impl Send for DmsgType
impl Sync for DmsgType
impl Unpin for DmsgType
impl UnsafeUnpin for DmsgType
impl UnwindSafe for DmsgType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.