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
sourceimpl Debug for ResponseKind
impl Debug for ResponseKind
sourceimpl PartialEq<ResponseKind> for ResponseKind
impl PartialEq<ResponseKind> for ResponseKind
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ResponseKind) -> bool
fn ne(&self, other: &ResponseKind) -> bool
This method tests for !=
.
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
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