pub struct DispatchMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl DispatchMode
impl DispatchMode
pub const PROXY: DispatchMode
pub const SIGNAL: DispatchMode
Trait Implementations§
Source§impl Clone for DispatchMode
impl Clone for DispatchMode
Source§fn clone(&self) -> DispatchMode
fn clone(&self) -> DispatchMode
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 DispatchMode
impl Debug for DispatchMode
Source§impl From<DispatchMode> for i64
impl From<DispatchMode> for i64
Source§fn from(v: DispatchMode) -> Self
fn from(v: DispatchMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for DispatchMode
impl From<i64> for DispatchMode
Source§impl FromVariant for DispatchMode
impl FromVariant for DispatchMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for DispatchMode
impl Hash for DispatchMode
Source§impl Ord for DispatchMode
impl Ord for DispatchMode
Source§fn cmp(&self, other: &DispatchMode) -> Ordering
fn cmp(&self, other: &DispatchMode) -> 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 DispatchMode
impl PartialEq for DispatchMode
Source§impl PartialOrd for DispatchMode
impl PartialOrd for DispatchMode
impl Copy for DispatchMode
impl Eq for DispatchMode
impl StructuralPartialEq for DispatchMode
Auto Trait Implementations§
impl Freeze for DispatchMode
impl RefUnwindSafe for DispatchMode
impl Send for DispatchMode
impl Sync for DispatchMode
impl Unpin for DispatchMode
impl UnwindSafe for DispatchMode
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.