pub enum RequestKind {
Show 24 variants
PeerProperties(PeerPropertiesCommand),
SaslHandshake(SaslHandshakeCommand),
SaslAuthenticate(SaslAuthenticateCommand),
Tunes(TunesCommand),
Open(OpenCommand),
Close(CloseRequest),
Delete(Delete),
CreateStream(CreateStreamCommand),
Subscribe(SubscribeCommand),
Credit(CreditCommand),
Metadata(MetadataCommand),
DeclarePublisher(DeclarePublisherCommand),
DeletePublisher(DeletePublisherCommand),
Heartbeat(HeartBeatCommand),
Publish(PublishCommand),
QueryOffset(QueryOffsetRequest),
QueryPublisherSequence(QueryPublisherRequest),
StoreOffset(StoreOffset),
Unsubscribe(UnSubscribeCommand),
ExchangeCommandVersions(ExchangeCommandVersionsRequest),
CreateSuperStream(CreateSuperStreamCommand),
DeleteSuperStream(DeleteSuperStreamCommand),
SuperStreamPartitions(SuperStreamPartitionsRequest),
SuperStreamRoute(SuperStreamRouteRequest),
}
Variants§
PeerProperties(PeerPropertiesCommand)
SaslHandshake(SaslHandshakeCommand)
SaslAuthenticate(SaslAuthenticateCommand)
Tunes(TunesCommand)
Open(OpenCommand)
Close(CloseRequest)
Delete(Delete)
CreateStream(CreateStreamCommand)
Subscribe(SubscribeCommand)
Credit(CreditCommand)
Metadata(MetadataCommand)
DeclarePublisher(DeclarePublisherCommand)
DeletePublisher(DeletePublisherCommand)
Heartbeat(HeartBeatCommand)
Publish(PublishCommand)
QueryOffset(QueryOffsetRequest)
QueryPublisherSequence(QueryPublisherRequest)
StoreOffset(StoreOffset)
Unsubscribe(UnSubscribeCommand)
ExchangeCommandVersions(ExchangeCommandVersionsRequest)
CreateSuperStream(CreateSuperStreamCommand)
DeleteSuperStream(DeleteSuperStreamCommand)
SuperStreamPartitions(SuperStreamPartitionsRequest)
SuperStreamRoute(SuperStreamRouteRequest)
Trait Implementations§
Source§impl Debug for RequestKind
impl Debug for RequestKind
Source§impl Encoder for RequestKind
impl Encoder for RequestKind
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size_version_2(&self) -> u32
fn encode_version_2(&self, writer: &mut impl Write) -> Result<(), EncodeError>
Source§impl From<CloseRequest> for RequestKind
impl From<CloseRequest> for RequestKind
Source§fn from(cmd: CloseRequest) -> Self
fn from(cmd: CloseRequest) -> Self
Converts to this type from the input type.
Source§impl From<CreateStreamCommand> for RequestKind
impl From<CreateStreamCommand> for RequestKind
Source§fn from(cmd: CreateStreamCommand) -> Self
fn from(cmd: CreateStreamCommand) -> Self
Converts to this type from the input type.
Source§impl From<CreateSuperStreamCommand> for RequestKind
impl From<CreateSuperStreamCommand> for RequestKind
Source§fn from(cmd: CreateSuperStreamCommand) -> Self
fn from(cmd: CreateSuperStreamCommand) -> Self
Converts to this type from the input type.
Source§impl From<CreditCommand> for RequestKind
impl From<CreditCommand> for RequestKind
Source§fn from(cmd: CreditCommand) -> Self
fn from(cmd: CreditCommand) -> Self
Converts to this type from the input type.
Source§impl From<DeclarePublisherCommand> for RequestKind
impl From<DeclarePublisherCommand> for RequestKind
Source§fn from(cmd: DeclarePublisherCommand) -> Self
fn from(cmd: DeclarePublisherCommand) -> Self
Converts to this type from the input type.
Source§impl From<Delete> for RequestKind
impl From<Delete> for RequestKind
Source§impl From<DeletePublisherCommand> for RequestKind
impl From<DeletePublisherCommand> for RequestKind
Source§fn from(cmd: DeletePublisherCommand) -> Self
fn from(cmd: DeletePublisherCommand) -> Self
Converts to this type from the input type.
Source§impl From<DeleteSuperStreamCommand> for RequestKind
impl From<DeleteSuperStreamCommand> for RequestKind
Source§fn from(cmd: DeleteSuperStreamCommand) -> Self
fn from(cmd: DeleteSuperStreamCommand) -> Self
Converts to this type from the input type.
Source§impl From<ExchangeCommandVersionsRequest> for RequestKind
impl From<ExchangeCommandVersionsRequest> for RequestKind
Source§fn from(cmd: ExchangeCommandVersionsRequest) -> Self
fn from(cmd: ExchangeCommandVersionsRequest) -> Self
Converts to this type from the input type.
Source§impl From<HeartBeatCommand> for RequestKind
impl From<HeartBeatCommand> for RequestKind
Source§fn from(cmd: HeartBeatCommand) -> Self
fn from(cmd: HeartBeatCommand) -> Self
Converts to this type from the input type.
Source§impl From<MetadataCommand> for RequestKind
impl From<MetadataCommand> for RequestKind
Source§fn from(cmd: MetadataCommand) -> Self
fn from(cmd: MetadataCommand) -> Self
Converts to this type from the input type.
Source§impl From<OpenCommand> for RequestKind
impl From<OpenCommand> for RequestKind
Source§fn from(cmd: OpenCommand) -> Self
fn from(cmd: OpenCommand) -> Self
Converts to this type from the input type.
Source§impl From<PeerPropertiesCommand> for RequestKind
impl From<PeerPropertiesCommand> for RequestKind
Source§fn from(cmd: PeerPropertiesCommand) -> Self
fn from(cmd: PeerPropertiesCommand) -> Self
Converts to this type from the input type.
Source§impl From<PublishCommand> for RequestKind
impl From<PublishCommand> for RequestKind
Source§fn from(cmd: PublishCommand) -> Self
fn from(cmd: PublishCommand) -> Self
Converts to this type from the input type.
Source§impl From<QueryOffsetRequest> for RequestKind
impl From<QueryOffsetRequest> for RequestKind
Source§fn from(cmd: QueryOffsetRequest) -> Self
fn from(cmd: QueryOffsetRequest) -> Self
Converts to this type from the input type.
Source§impl From<QueryPublisherRequest> for RequestKind
impl From<QueryPublisherRequest> for RequestKind
Source§fn from(cmd: QueryPublisherRequest) -> Self
fn from(cmd: QueryPublisherRequest) -> Self
Converts to this type from the input type.
Source§impl From<SaslAuthenticateCommand> for RequestKind
impl From<SaslAuthenticateCommand> for RequestKind
Source§fn from(cmd: SaslAuthenticateCommand) -> Self
fn from(cmd: SaslAuthenticateCommand) -> Self
Converts to this type from the input type.
Source§impl From<SaslHandshakeCommand> for RequestKind
impl From<SaslHandshakeCommand> for RequestKind
Source§fn from(cmd: SaslHandshakeCommand) -> Self
fn from(cmd: SaslHandshakeCommand) -> Self
Converts to this type from the input type.
Source§impl From<StoreOffset> for RequestKind
impl From<StoreOffset> for RequestKind
Source§fn from(cmd: StoreOffset) -> Self
fn from(cmd: StoreOffset) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeCommand> for RequestKind
impl From<SubscribeCommand> for RequestKind
Source§fn from(cmd: SubscribeCommand) -> Self
fn from(cmd: SubscribeCommand) -> Self
Converts to this type from the input type.
Source§impl From<SuperStreamPartitionsRequest> for RequestKind
impl From<SuperStreamPartitionsRequest> for RequestKind
Source§fn from(cmd: SuperStreamPartitionsRequest) -> Self
fn from(cmd: SuperStreamPartitionsRequest) -> Self
Converts to this type from the input type.
Source§impl From<SuperStreamRouteRequest> for RequestKind
impl From<SuperStreamRouteRequest> for RequestKind
Source§fn from(cmd: SuperStreamRouteRequest) -> Self
fn from(cmd: SuperStreamRouteRequest) -> Self
Converts to this type from the input type.
Source§impl From<TunesCommand> for RequestKind
impl From<TunesCommand> for RequestKind
Source§fn from(cmd: TunesCommand) -> Self
fn from(cmd: TunesCommand) -> Self
Converts to this type from the input type.
Source§impl From<UnSubscribeCommand> for RequestKind
impl From<UnSubscribeCommand> for RequestKind
Source§fn from(cmd: UnSubscribeCommand) -> Self
fn from(cmd: UnSubscribeCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RequestKind
impl PartialEq for RequestKind
impl Eq for RequestKind
impl StructuralPartialEq for RequestKind
Auto Trait Implementations§
impl Freeze for RequestKind
impl RefUnwindSafe for RequestKind
impl Send for RequestKind
impl Sync for RequestKind
impl Unpin for RequestKind
impl UnwindSafe for RequestKind
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