pub struct SlotNumber(pub u64);
Expand description
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Add<&SlotNumber> for &u64
impl Add<&SlotNumber> for &u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
+
operator.source§impl Add<&SlotNumber> for u64
impl Add<&SlotNumber> for u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
+
operator.source§impl Add<&u64> for SlotNumber
impl Add<&u64> for SlotNumber
source§impl Add<SlotNumber> for &u64
impl Add<SlotNumber> for &u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
+
operator.source§impl Add<SlotNumber> for u64
impl Add<SlotNumber> for u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
+
operator.source§impl Add<u64> for SlotNumber
impl Add<u64> for SlotNumber
source§impl Add for SlotNumber
impl Add for SlotNumber
source§impl AddAssign<&SlotNumber> for u64
impl AddAssign<&SlotNumber> for u64
source§fn add_assign(&mut self, rhs: &SlotNumber)
fn add_assign(&mut self, rhs: &SlotNumber)
Performs the
+=
operation. Read moresource§impl AddAssign<&u64> for SlotNumber
impl AddAssign<&u64> for SlotNumber
source§fn add_assign(&mut self, rhs: &u64)
fn add_assign(&mut self, rhs: &u64)
Performs the
+=
operation. Read moresource§impl AddAssign<SlotNumber> for u64
impl AddAssign<SlotNumber> for u64
source§fn add_assign(&mut self, rhs: SlotNumber)
fn add_assign(&mut self, rhs: SlotNumber)
Performs the
+=
operation. Read moresource§impl AddAssign<u64> for SlotNumber
impl AddAssign<u64> for SlotNumber
source§fn add_assign(&mut self, rhs: u64)
fn add_assign(&mut self, rhs: u64)
Performs the
+=
operation. Read moresource§impl AddAssign for SlotNumber
impl AddAssign for SlotNumber
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for SlotNumber
impl Clone for SlotNumber
source§fn clone(&self) -> SlotNumber
fn clone(&self) -> SlotNumber
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 SlotNumber
impl Debug for SlotNumber
source§impl Default for SlotNumber
impl Default for SlotNumber
source§fn default() -> SlotNumber
fn default() -> SlotNumber
Returns the “default value” for a type. Read more
source§impl Deref for SlotNumber
impl Deref for SlotNumber
source§impl DerefMut for SlotNumber
impl DerefMut for SlotNumber
source§impl<'de> Deserialize<'de> for SlotNumber
impl<'de> Deserialize<'de> for SlotNumber
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SlotNumber
impl Display for SlotNumber
source§impl Hash for SlotNumber
impl Hash for SlotNumber
source§impl Ord for SlotNumber
impl Ord for SlotNumber
source§fn cmp(&self, other: &SlotNumber) -> Ordering
fn cmp(&self, other: &SlotNumber) -> 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<&SlotNumber> for SlotNumber
impl PartialEq<&SlotNumber> for SlotNumber
source§impl PartialEq<&SlotNumber> for u64
impl PartialEq<&SlotNumber> for u64
source§impl PartialEq<&u64> for SlotNumber
impl PartialEq<&u64> for SlotNumber
source§impl PartialEq<SlotNumber> for &SlotNumber
impl PartialEq<SlotNumber> for &SlotNumber
source§impl PartialEq<SlotNumber> for &u64
impl PartialEq<SlotNumber> for &u64
source§impl PartialEq<SlotNumber> for u64
impl PartialEq<SlotNumber> for u64
source§impl PartialEq<u64> for &SlotNumber
impl PartialEq<u64> for &SlotNumber
source§impl PartialEq<u64> for SlotNumber
impl PartialEq<u64> for SlotNumber
source§impl PartialEq for SlotNumber
impl PartialEq for SlotNumber
source§impl PartialOrd for SlotNumber
impl PartialOrd for SlotNumber
source§impl Serialize for SlotNumber
impl Serialize for SlotNumber
source§impl Sub<&SlotNumber> for &u64
impl Sub<&SlotNumber> for &u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
-
operator.source§impl Sub<&SlotNumber> for u64
impl Sub<&SlotNumber> for u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
-
operator.source§impl Sub<&u64> for SlotNumber
impl Sub<&u64> for SlotNumber
source§impl Sub<SlotNumber> for &u64
impl Sub<SlotNumber> for &u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
-
operator.source§impl Sub<SlotNumber> for u64
impl Sub<SlotNumber> for u64
source§type Output = SlotNumber
type Output = SlotNumber
The resulting type after applying the
-
operator.source§impl Sub<u64> for SlotNumber
impl Sub<u64> for SlotNumber
source§impl Sub for SlotNumber
impl Sub for SlotNumber
source§impl SubAssign<&SlotNumber> for u64
impl SubAssign<&SlotNumber> for u64
source§fn sub_assign(&mut self, rhs: &SlotNumber)
fn sub_assign(&mut self, rhs: &SlotNumber)
Performs the
-=
operation. Read moresource§impl SubAssign<&u64> for SlotNumber
impl SubAssign<&u64> for SlotNumber
source§fn sub_assign(&mut self, rhs: &u64)
fn sub_assign(&mut self, rhs: &u64)
Performs the
-=
operation. Read moresource§impl SubAssign<SlotNumber> for u64
impl SubAssign<SlotNumber> for u64
source§fn sub_assign(&mut self, rhs: SlotNumber)
fn sub_assign(&mut self, rhs: SlotNumber)
Performs the
-=
operation. Read moresource§impl SubAssign<u64> for SlotNumber
impl SubAssign<u64> for SlotNumber
source§fn sub_assign(&mut self, rhs: u64)
fn sub_assign(&mut self, rhs: u64)
Performs the
-=
operation. Read moresource§impl SubAssign for SlotNumber
impl SubAssign for SlotNumber
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moresource§impl TryFrom<SlotNumber> for i64
impl TryFrom<SlotNumber> for i64
source§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
impl Copy for SlotNumber
impl Eq for SlotNumber
impl StructuralPartialEq for SlotNumber
Auto Trait Implementations§
impl Freeze for SlotNumber
impl RefUnwindSafe for SlotNumber
impl Send for SlotNumber
impl Sync for SlotNumber
impl Unpin for SlotNumber
impl UnwindSafe for SlotNumber
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> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.