pub enum ResponseCode {
Show 19 variants
    Ok,
    StreamDoesNotExist,
    SubscriptionIdAlreadyExists,
    SubscriptionIdDoesNotExist,
    StreamAlreadyExists,
    StreamNotAvailable,
    SaslMechanismNotSupported,
    AuthenticationFailure,
    SaslError,
    SaslChallange,
    AuthenticationFailureLoopback,
    VirtualHostAccessFailure,
    UnknownFrame,
    FrameTooLarge,
    InternalError,
    AccessRefused,
    PrecoditionFailed,
    PublisherDoesNotExist,
    OffsetNotFound,
}Variants§
Ok
StreamDoesNotExist
SubscriptionIdAlreadyExists
SubscriptionIdDoesNotExist
StreamAlreadyExists
StreamNotAvailable
SaslMechanismNotSupported
AuthenticationFailure
SaslError
SaslChallange
AuthenticationFailureLoopback
VirtualHostAccessFailure
UnknownFrame
FrameTooLarge
InternalError
AccessRefused
PrecoditionFailed
PublisherDoesNotExist
OffsetNotFound
Trait Implementations§
source§impl Clone for ResponseCode
 
impl Clone for ResponseCode
source§fn clone(&self) -> ResponseCode
 
fn clone(&self) -> ResponseCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ResponseCode
 
impl Debug for ResponseCode
source§impl Decoder for ResponseCode
 
impl Decoder for ResponseCode
source§impl Encoder for ResponseCode
 
impl Encoder for ResponseCode
source§impl From<&ResponseCode> for u16
 
impl From<&ResponseCode> for u16
source§fn from(code: &ResponseCode) -> Self
 
fn from(code: &ResponseCode) -> Self
Converts to this type from the input type.
source§impl PartialEq<ResponseCode> for ResponseCode
 
impl PartialEq<ResponseCode> for ResponseCode
source§fn eq(&self, other: &ResponseCode) -> bool
 
fn eq(&self, other: &ResponseCode) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl TryFrom<u16> for ResponseCode
 
impl TryFrom<u16> for ResponseCode
impl Eq for ResponseCode
impl StructuralEq for ResponseCode
impl StructuralPartialEq for ResponseCode
Auto Trait Implementations§
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnwindSafe for ResponseCode
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