pub enum ResponseKind {
Show 15 variants
Open(OpenResponse),
Close(CloseResponse),
PeerProperties(PeerPropertiesResponse),
SaslHandshake(SaslHandshakeResponse),
Generic(GenericResponse),
Tunes(TunesCommand),
Deliver(DeliverCommand),
Heartbeat(HeartbeatResponse),
Metadata(MetadataResponse),
MetadataUpdate(MetadataUpdateCommand),
PublishConfirm(PublishConfirm),
PublishError(PublishErrorResponse),
QueryOffset(QueryOffsetResponse),
QueryPublisherSequence(QueryPublisherResponse),
Credit(CreditResponse),
}
Variants§
Open(OpenResponse)
Close(CloseResponse)
PeerProperties(PeerPropertiesResponse)
SaslHandshake(SaslHandshakeResponse)
Generic(GenericResponse)
Tunes(TunesCommand)
Deliver(DeliverCommand)
Heartbeat(HeartbeatResponse)
Metadata(MetadataResponse)
MetadataUpdate(MetadataUpdateCommand)
PublishConfirm(PublishConfirm)
PublishError(PublishErrorResponse)
QueryOffset(QueryOffsetResponse)
QueryPublisherSequence(QueryPublisherResponse)
Credit(CreditResponse)
Trait Implementations§
source§impl Debug for ResponseKind
impl Debug for ResponseKind
source§impl PartialEq for ResponseKind
impl PartialEq for ResponseKind
source§fn eq(&self, other: &ResponseKind) -> bool
fn eq(&self, other: &ResponseKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResponseKind
impl StructuralEq for ResponseKind
impl StructuralPartialEq for ResponseKind
Auto Trait Implementations§
impl RefUnwindSafe for ResponseKind
impl Send for ResponseKind
impl Sync for ResponseKind
impl Unpin for ResponseKind
impl UnwindSafe for ResponseKind
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more