pub enum Request {
Show 33 variants
RegisterBroker(BrokerRegistrationRequest),
IncrementalAlterResource(AlterConfigsResource),
CreateTopic {
topic: CreatableTopic,
validate_only: bool,
},
DeleteRecords(Vec<DeleteRecordsTopic>),
DeleteTopic(TopicId),
Brokers,
Produce {
transaction_id: Option<String>,
topition: Topition,
batch: Batch,
},
Fetch {
topition: Topition,
offset: i64,
min_bytes: u32,
max_bytes: u32,
isolation: IsolationLevel,
},
OffsetStage(Topition),
ListOffsets {
isolation_level: IsolationLevel,
offsets: Vec<(Topition, ListOffset)>,
},
OffsetCommit {
group_id: String,
retention_time_ms: Option<Duration>,
offsets: Vec<(Topition, OffsetCommitRequest)>,
},
CommittedOffsetTopitions(String),
OffsetFetch {
group_id: Option<String>,
topics: Vec<Topition>,
require_stable: Option<bool>,
},
Metadata(Option<Vec<TopicId>>),
DescribeConfig {
name: String,
resource: ConfigResource,
keys: Option<Vec<String>>,
},
DescribeTopicPartitions {
topics: Option<Vec<TopicId>>,
partition_limit: i32,
cursor: Option<Topition>,
},
ListGroups(Option<Vec<String>>),
DeleteGroups(Option<Vec<String>>),
DescribeGroups {
group_ids: Option<Vec<String>>,
include_authorized_operations: bool,
},
UpdateGroup {
group_id: String,
detail: GroupDetail,
version: Option<Version>,
},
InitProducer {
transaction_id: Option<String>,
transaction_timeout_ms: i32,
producer_id: Option<i64>,
producer_epoch: Option<i16>,
},
TxnAddOffsets {
transaction_id: String,
producer_id: i64,
producer_epoch: i16,
group_id: String,
},
TxnAddPartitions(TxnAddPartitionsRequest),
TxnOffsetCommit(TxnOffsetCommitRequest),
TxnEnd {
transaction_id: String,
producer_id: i64,
producer_epoch: i16,
committed: bool,
},
Maintain(SystemTime),
ClusterId,
Node,
AdvertisedListener,
DeleteUserScramCredential {
user: String,
mechanism: ScramMechanism,
},
UpsertUserScramCredential {
user: String,
mechanism: ScramMechanism,
credential: ScramCredential,
},
UserScramCredential {
user: String,
mechanism: ScramMechanism,
},
Ping,
}Variants§
RegisterBroker(BrokerRegistrationRequest)
IncrementalAlterResource(AlterConfigsResource)
CreateTopic
DeleteRecords(Vec<DeleteRecordsTopic>)
DeleteTopic(TopicId)
Brokers
Produce
Fetch
OffsetStage(Topition)
ListOffsets
OffsetCommit
Fields
§
offsets: Vec<(Topition, OffsetCommitRequest)>CommittedOffsetTopitions(String)
OffsetFetch
Metadata(Option<Vec<TopicId>>)
DescribeConfig
DescribeTopicPartitions
ListGroups(Option<Vec<String>>)
DeleteGroups(Option<Vec<String>>)
DescribeGroups
UpdateGroup
InitProducer
Fields
TxnAddOffsets
TxnAddPartitions(TxnAddPartitionsRequest)
TxnOffsetCommit(TxnOffsetCommitRequest)
TxnEnd
Maintain(SystemTime)
ClusterId
Node
AdvertisedListener
DeleteUserScramCredential
UpsertUserScramCredential
UserScramCredential
Ping
Trait Implementations§
Source§impl Ord for Request
impl Ord for Request
Source§impl PartialOrd for Request
impl PartialOrd for Request
Source§impl<State> Service<State, Request> for RequestChannelService
impl<State> Service<State, Request> for RequestChannelService
Source§impl<State, S> Service<State, Request> for RequestService<S>
impl<State, S> Service<State, Request> for RequestService<S>
Source§impl<G, State> Service<State, Request> for RequestStorageService<G>
impl<G, State> Service<State, Request> for RequestStorageService<G>
impl Eq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl !Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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<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>
Converts
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>
Converts
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<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.