#[repr(u8)]pub enum ControlCommand {
Show 20 variants
CreateTopic = 1,
DeleteTopic = 2,
ListTopics = 3,
GetTopic = 4,
SetRetention = 5,
CreateTopicWithRetention = 6,
GetClusterStatus = 7,
Authenticate = 8,
AuthenticateResponse = 9,
Fetch = 16,
FetchResponse = 17,
CatchingUp = 18,
Subscribe = 32,
Unsubscribe = 33,
CommitOffset = 34,
SubscribeAck = 35,
CommitAck = 36,
TopicResponse = 128,
ClusterStatusResponse = 129,
ErrorResponse = 255,
}Variants§
CreateTopic = 1
DeleteTopic = 2
ListTopics = 3
GetTopic = 4
SetRetention = 5
Set retention policy for a topic
CreateTopicWithRetention = 6
Create topic with retention configuration
GetClusterStatus = 7
Get cluster status and health information
Authenticate = 8
Authenticate client with token
AuthenticateResponse = 9
Authentication response (success/failure)
Fetch = 16
FetchResponse = 17
CatchingUp = 18
Server has not yet replicated to the requested offset — client should backoff and retry
Subscribe = 32
Subscribe to a topic for streaming - server will push data
Unsubscribe = 33
Unsubscribe from a topic - stop streaming
CommitOffset = 34
Commit consumer offset for checkpointing
SubscribeAck = 35
Server acknowledgment of subscription
CommitAck = 36
Server acknowledgment of offset commit
TopicResponse = 128
ClusterStatusResponse = 129
Cluster status response
ErrorResponse = 255
Trait Implementations§
Source§impl Clone for ControlCommand
impl Clone for ControlCommand
Source§fn clone(&self) -> ControlCommand
fn clone(&self) -> ControlCommand
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 moreSource§impl Debug for ControlCommand
impl Debug for ControlCommand
Source§impl From<u8> for ControlCommand
impl From<u8> for ControlCommand
Source§impl PartialEq for ControlCommand
impl PartialEq for ControlCommand
impl Copy for ControlCommand
impl Eq for ControlCommand
impl StructuralPartialEq for ControlCommand
Auto Trait Implementations§
impl Freeze for ControlCommand
impl RefUnwindSafe for ControlCommand
impl Send for ControlCommand
impl Sync for ControlCommand
impl Unpin for ControlCommand
impl UnsafeUnpin for ControlCommand
impl UnwindSafe for ControlCommand
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> 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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> 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