pub struct RpcCallMode(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl RpcCallMode
impl RpcCallMode
pub const DISABLED: RpcCallMode
pub const RELIABLE: RpcCallMode
pub const UNRELIABLE: RpcCallMode
pub const RELIABLE_TO_ID: RpcCallMode
pub const UNRELIABLE_TO_ID: RpcCallMode
Trait Implementations§
Source§impl Clone for RpcCallMode
impl Clone for RpcCallMode
Source§fn clone(&self) -> RpcCallMode
fn clone(&self) -> RpcCallMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RpcCallMode
impl Debug for RpcCallMode
Source§impl From<RpcCallMode> for i64
impl From<RpcCallMode> for i64
Source§fn from(v: RpcCallMode) -> Self
fn from(v: RpcCallMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for RpcCallMode
impl From<i64> for RpcCallMode
Source§impl FromVariant for RpcCallMode
impl FromVariant for RpcCallMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for RpcCallMode
impl Hash for RpcCallMode
Source§impl Ord for RpcCallMode
impl Ord for RpcCallMode
Source§fn cmp(&self, other: &RpcCallMode) -> Ordering
fn cmp(&self, other: &RpcCallMode) -> 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 RpcCallMode
impl PartialEq for RpcCallMode
Source§impl PartialOrd for RpcCallMode
impl PartialOrd for RpcCallMode
impl Copy for RpcCallMode
impl Eq for RpcCallMode
impl StructuralPartialEq for RpcCallMode
Auto Trait Implementations§
impl Freeze for RpcCallMode
impl RefUnwindSafe for RpcCallMode
impl Send for RpcCallMode
impl Sync for RpcCallMode
impl Unpin for RpcCallMode
impl UnwindSafe for RpcCallMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.