pub struct CommandIndex(pub u64);Expand description
Position of a command within a connection’s session.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for CommandIndex
impl Clone for CommandIndex
Source§fn clone(&self) -> CommandIndex
fn clone(&self) -> CommandIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandIndex
Source§impl Debug for CommandIndex
impl Debug for CommandIndex
Source§impl Default for CommandIndex
impl Default for CommandIndex
Source§fn default() -> CommandIndex
fn default() -> CommandIndex
Returns the “default value” for a type. Read more
impl Eq for CommandIndex
Source§impl Ord for CommandIndex
impl Ord for CommandIndex
Source§fn cmp(&self, other: &CommandIndex) -> Ordering
fn cmp(&self, other: &CommandIndex) -> Ordering
1.21.0 (const: unstable) · 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 CommandIndex
impl PartialEq for CommandIndex
Source§impl PartialOrd for CommandIndex
impl PartialOrd for CommandIndex
impl StructuralPartialEq for CommandIndex
Auto Trait Implementations§
impl Freeze for CommandIndex
impl RefUnwindSafe for CommandIndex
impl Send for CommandIndex
impl Sync for CommandIndex
impl Unpin for CommandIndex
impl UnsafeUnpin for CommandIndex
impl UnwindSafe for CommandIndex
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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