Enum ya_sb_proto::SubscribeReplyCode
source · #[repr(i32)]pub enum SubscribeReplyCode {
SubscribedOk = 0,
SubscribeBadRequest = 400,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SubscribeReplyCode
impl Clone for SubscribeReplyCode
source§fn clone(&self) -> SubscribeReplyCode
fn clone(&self) -> SubscribeReplyCode
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 SubscribeReplyCode
impl Debug for SubscribeReplyCode
source§impl Default for SubscribeReplyCode
impl Default for SubscribeReplyCode
source§fn default() -> SubscribeReplyCode
fn default() -> SubscribeReplyCode
Returns the “default value” for a type. Read more
source§impl From<SubscribeReplyCode> for i32
impl From<SubscribeReplyCode> for i32
source§fn from(value: SubscribeReplyCode) -> i32
fn from(value: SubscribeReplyCode) -> i32
Converts to this type from the input type.
source§impl Hash for SubscribeReplyCode
impl Hash for SubscribeReplyCode
source§impl Ord for SubscribeReplyCode
impl Ord for SubscribeReplyCode
source§fn cmp(&self, other: &SubscribeReplyCode) -> Ordering
fn cmp(&self, other: &SubscribeReplyCode) -> 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 SubscribeReplyCode
impl PartialEq for SubscribeReplyCode
source§fn eq(&self, other: &SubscribeReplyCode) -> bool
fn eq(&self, other: &SubscribeReplyCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SubscribeReplyCode
impl PartialOrd for SubscribeReplyCode
source§fn partial_cmp(&self, other: &SubscribeReplyCode) -> Option<Ordering>
fn partial_cmp(&self, other: &SubscribeReplyCode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SubscribeReplyCode
impl Eq for SubscribeReplyCode
impl StructuralPartialEq for SubscribeReplyCode
Auto Trait Implementations§
impl Freeze for SubscribeReplyCode
impl RefUnwindSafe for SubscribeReplyCode
impl Send for SubscribeReplyCode
impl Sync for SubscribeReplyCode
impl Unpin for SubscribeReplyCode
impl UnwindSafe for SubscribeReplyCode
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