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