#[repr(i32)]pub enum MsgType {
Show 81 variants
Undefined = 0,
CreateCollection = 100,
DropCollection = 101,
HasCollection = 102,
DescribeCollection = 103,
ShowCollections = 104,
GetSystemConfigs = 105,
LoadCollection = 106,
ReleaseCollection = 107,
CreateAlias = 108,
DropAlias = 109,
AlterAlias = 110,
AlterCollection = 111,
CreatePartition = 200,
DropPartition = 201,
HasPartition = 202,
DescribePartition = 203,
ShowPartitions = 204,
LoadPartitions = 205,
ReleasePartitions = 206,
ShowSegments = 250,
DescribeSegment = 251,
LoadSegments = 252,
ReleaseSegments = 253,
HandoffSegments = 254,
LoadBalanceSegments = 255,
DescribeSegments = 256,
CreateIndex = 300,
DescribeIndex = 301,
DropIndex = 302,
Insert = 400,
Delete = 401,
Flush = 402,
ResendSegmentStats = 403,
Search = 500,
SearchResult = 501,
GetIndexState = 502,
GetIndexBuildProgress = 503,
GetCollectionStatistics = 504,
GetPartitionStatistics = 505,
Retrieve = 506,
RetrieveResult = 507,
WatchDmChannels = 508,
RemoveDmChannels = 509,
WatchQueryChannels = 510,
RemoveQueryChannels = 511,
SealedSegmentsChangeInfo = 512,
WatchDeltaChannels = 513,
GetShardLeaders = 514,
GetReplicas = 515,
UnsubDmChannel = 516,
GetDistribution = 517,
SyncDistribution = 518,
SegmentInfo = 600,
SystemInfo = 601,
GetRecoveryInfo = 602,
GetSegmentState = 603,
TimeTick = 1_200,
QueryNodeStats = 1_201,
LoadIndex = 1_202,
RequestId = 1_203,
RequestTso = 1_204,
AllocateSegment = 1_205,
SegmentStatistics = 1_206,
SegmentFlushDone = 1_207,
DataNodeTt = 1_208,
CreateCredential = 1_500,
GetCredential = 1_501,
DeleteCredential = 1_502,
UpdateCredential = 1_503,
ListCredUsernames = 1_504,
CreateRole = 1_600,
DropRole = 1_601,
OperateUserRole = 1_602,
SelectRole = 1_603,
SelectUser = 1_604,
SelectResource = 1_605,
OperatePrivilege = 1_606,
SelectGrant = 1_607,
RefreshPolicyInfoCache = 1_608,
ListPolicy = 1_609,
}
Variants§
Undefined = 0
CreateCollection = 100
DEFINITION REQUESTS: COLLECTION
DropCollection = 101
HasCollection = 102
DescribeCollection = 103
ShowCollections = 104
GetSystemConfigs = 105
LoadCollection = 106
ReleaseCollection = 107
CreateAlias = 108
DropAlias = 109
AlterAlias = 110
AlterCollection = 111
CreatePartition = 200
DEFINITION REQUESTS: PARTITION
DropPartition = 201
HasPartition = 202
DescribePartition = 203
ShowPartitions = 204
LoadPartitions = 205
ReleasePartitions = 206
ShowSegments = 250
DEFINE REQUESTS: SEGMENT
DescribeSegment = 251
LoadSegments = 252
ReleaseSegments = 253
HandoffSegments = 254
LoadBalanceSegments = 255
DescribeSegments = 256
CreateIndex = 300
DEFINITION REQUESTS: INDEX
DescribeIndex = 301
DropIndex = 302
Insert = 400
MANIPULATION REQUESTS
Delete = 401
Flush = 402
ResendSegmentStats = 403
Search = 500
QUERY
SearchResult = 501
GetIndexState = 502
GetIndexBuildProgress = 503
GetCollectionStatistics = 504
GetPartitionStatistics = 505
Retrieve = 506
RetrieveResult = 507
WatchDmChannels = 508
RemoveDmChannels = 509
WatchQueryChannels = 510
RemoveQueryChannels = 511
SealedSegmentsChangeInfo = 512
WatchDeltaChannels = 513
GetShardLeaders = 514
GetReplicas = 515
UnsubDmChannel = 516
GetDistribution = 517
SyncDistribution = 518
SegmentInfo = 600
DATA SERVICE
SystemInfo = 601
GetRecoveryInfo = 602
GetSegmentState = 603
TimeTick = 1_200
SYSTEM CONTROL
QueryNodeStats = 1_201
GOOSE TODO: Remove kQueryNodeStats
LoadIndex = 1_202
RequestId = 1_203
RequestTso = 1_204
AllocateSegment = 1_205
SegmentStatistics = 1_206
SegmentFlushDone = 1_207
DataNodeTt = 1_208
CreateCredential = 1_500
Credential
GetCredential = 1_501
DeleteCredential = 1_502
UpdateCredential = 1_503
ListCredUsernames = 1_504
CreateRole = 1_600
RBAC
DropRole = 1_601
OperateUserRole = 1_602
SelectRole = 1_603
SelectUser = 1_604
SelectResource = 1_605
OperatePrivilege = 1_606
SelectGrant = 1_607
RefreshPolicyInfoCache = 1_608
ListPolicy = 1_609
Implementations§
Source§impl MsgType
impl MsgType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for MsgType
impl Ord for MsgType
Source§impl PartialOrd for MsgType
impl PartialOrd for MsgType
impl Copy for MsgType
impl Eq for MsgType
impl StructuralPartialEq for MsgType
Auto Trait Implementations§
impl Freeze for MsgType
impl RefUnwindSafe for MsgType
impl Send for MsgType
impl Sync for MsgType
impl Unpin for MsgType
impl UnwindSafe for MsgType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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
Compare self to
key
and return true
if they are equal.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
Compare self to
key
and return true
if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request