#[repr(i32)]pub enum UnsubscribeReplyCode {
UnsubscribedOk = 0,
NotSubscribed = 404,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UnsubscribeReplyCode
impl Clone for UnsubscribeReplyCode
Source§fn clone(&self) -> UnsubscribeReplyCode
fn clone(&self) -> UnsubscribeReplyCode
Returns a duplicate 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 UnsubscribeReplyCode
impl Debug for UnsubscribeReplyCode
Source§impl Default for UnsubscribeReplyCode
impl Default for UnsubscribeReplyCode
Source§fn default() -> UnsubscribeReplyCode
fn default() -> UnsubscribeReplyCode
Returns the “default value” for a type. Read more
Source§impl From<UnsubscribeReplyCode> for i32
impl From<UnsubscribeReplyCode> for i32
Source§fn from(value: UnsubscribeReplyCode) -> i32
fn from(value: UnsubscribeReplyCode) -> i32
Converts to this type from the input type.
Source§impl Hash for UnsubscribeReplyCode
impl Hash for UnsubscribeReplyCode
Source§impl Ord for UnsubscribeReplyCode
impl Ord for UnsubscribeReplyCode
Source§fn cmp(&self, other: &UnsubscribeReplyCode) -> Ordering
fn cmp(&self, other: &UnsubscribeReplyCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnsubscribeReplyCode
impl PartialEq for UnsubscribeReplyCode
Source§impl PartialOrd for UnsubscribeReplyCode
impl PartialOrd for UnsubscribeReplyCode
impl Copy for UnsubscribeReplyCode
impl Eq for UnsubscribeReplyCode
impl StructuralPartialEq for UnsubscribeReplyCode
Auto Trait Implementations§
impl Freeze for UnsubscribeReplyCode
impl RefUnwindSafe for UnsubscribeReplyCode
impl Send for UnsubscribeReplyCode
impl Sync for UnsubscribeReplyCode
impl Unpin for UnsubscribeReplyCode
impl UnwindSafe for UnsubscribeReplyCode
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