pub enum RequestKind {
Show 19 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),
}
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)
Trait Implementations§
source§impl Debug for RequestKind
impl Debug for RequestKind
source§impl Encoder for RequestKind
impl Encoder for RequestKind
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<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<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<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
source§fn eq(&self, other: &RequestKind) -> bool
fn eq(&self, other: &RequestKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RequestKind
impl StructuralEq for RequestKind
impl StructuralPartialEq for RequestKind
Auto Trait Implementations§
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