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
sourceimpl Debug for RequestKind
impl Debug for RequestKind
sourceimpl Encoder for RequestKind
impl Encoder for RequestKind
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
sourceimpl From<CloseRequest> for RequestKind
impl From<CloseRequest> for RequestKind
sourcefn from(cmd: CloseRequest) -> Self
fn from(cmd: CloseRequest) -> Self
Converts to this type from the input type.
sourceimpl From<CreateStreamCommand> for RequestKind
impl From<CreateStreamCommand> for RequestKind
sourcefn from(cmd: CreateStreamCommand) -> Self
fn from(cmd: CreateStreamCommand) -> Self
Converts to this type from the input type.
sourceimpl From<CreditCommand> for RequestKind
impl From<CreditCommand> for RequestKind
sourcefn from(cmd: CreditCommand) -> Self
fn from(cmd: CreditCommand) -> Self
Converts to this type from the input type.
sourceimpl From<DeclarePublisherCommand> for RequestKind
impl From<DeclarePublisherCommand> for RequestKind
sourcefn from(cmd: DeclarePublisherCommand) -> Self
fn from(cmd: DeclarePublisherCommand) -> Self
Converts to this type from the input type.
sourceimpl From<Delete> for RequestKind
impl From<Delete> for RequestKind
sourceimpl From<DeletePublisherCommand> for RequestKind
impl From<DeletePublisherCommand> for RequestKind
sourcefn from(cmd: DeletePublisherCommand) -> Self
fn from(cmd: DeletePublisherCommand) -> Self
Converts to this type from the input type.
sourceimpl From<HeartBeatCommand> for RequestKind
impl From<HeartBeatCommand> for RequestKind
sourcefn from(cmd: HeartBeatCommand) -> Self
fn from(cmd: HeartBeatCommand) -> Self
Converts to this type from the input type.
sourceimpl From<MetadataCommand> for RequestKind
impl From<MetadataCommand> for RequestKind
sourcefn from(cmd: MetadataCommand) -> Self
fn from(cmd: MetadataCommand) -> Self
Converts to this type from the input type.
sourceimpl From<OpenCommand> for RequestKind
impl From<OpenCommand> for RequestKind
sourcefn from(cmd: OpenCommand) -> Self
fn from(cmd: OpenCommand) -> Self
Converts to this type from the input type.
sourceimpl From<PeerPropertiesCommand> for RequestKind
impl From<PeerPropertiesCommand> for RequestKind
sourcefn from(cmd: PeerPropertiesCommand) -> Self
fn from(cmd: PeerPropertiesCommand) -> Self
Converts to this type from the input type.
sourceimpl From<PublishCommand> for RequestKind
impl From<PublishCommand> for RequestKind
sourcefn from(cmd: PublishCommand) -> Self
fn from(cmd: PublishCommand) -> Self
Converts to this type from the input type.
sourceimpl From<QueryOffsetRequest> for RequestKind
impl From<QueryOffsetRequest> for RequestKind
sourcefn from(cmd: QueryOffsetRequest) -> Self
fn from(cmd: QueryOffsetRequest) -> Self
Converts to this type from the input type.
sourceimpl From<QueryPublisherRequest> for RequestKind
impl From<QueryPublisherRequest> for RequestKind
sourcefn from(cmd: QueryPublisherRequest) -> Self
fn from(cmd: QueryPublisherRequest) -> Self
Converts to this type from the input type.
sourceimpl From<SaslAuthenticateCommand> for RequestKind
impl From<SaslAuthenticateCommand> for RequestKind
sourcefn from(cmd: SaslAuthenticateCommand) -> Self
fn from(cmd: SaslAuthenticateCommand) -> Self
Converts to this type from the input type.
sourceimpl From<SaslHandshakeCommand> for RequestKind
impl From<SaslHandshakeCommand> for RequestKind
sourcefn from(cmd: SaslHandshakeCommand) -> Self
fn from(cmd: SaslHandshakeCommand) -> Self
Converts to this type from the input type.
sourceimpl From<StoreOffset> for RequestKind
impl From<StoreOffset> for RequestKind
sourcefn from(cmd: StoreOffset) -> Self
fn from(cmd: StoreOffset) -> Self
Converts to this type from the input type.
sourceimpl From<SubscribeCommand> for RequestKind
impl From<SubscribeCommand> for RequestKind
sourcefn from(cmd: SubscribeCommand) -> Self
fn from(cmd: SubscribeCommand) -> Self
Converts to this type from the input type.
sourceimpl From<TunesCommand> for RequestKind
impl From<TunesCommand> for RequestKind
sourcefn from(cmd: TunesCommand) -> Self
fn from(cmd: TunesCommand) -> Self
Converts to this type from the input type.
sourceimpl From<UnSubscribeCommand> for RequestKind
impl From<UnSubscribeCommand> for RequestKind
sourcefn from(cmd: UnSubscribeCommand) -> Self
fn from(cmd: UnSubscribeCommand) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RequestKind> for RequestKind
impl PartialEq<RequestKind> for RequestKind
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RequestKind) -> bool
fn ne(&self, other: &RequestKind) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more