#[repr(u8)]
pub enum U128FastFieldCodecType {
CompactSpace,
}
Expand description
Available codecs to use to encode the u128 (via MonotonicallyMappableToU128
) converted data.
Variants
CompactSpace
This codec takes a large number space (u128) and reduces it to a compact number space, by removing the holes.
Trait Implementations
sourceimpl BinarySerializable for U128FastFieldCodecType
impl BinarySerializable for U128FastFieldCodecType
sourcefn deserialize<R: Read>(reader: &mut R) -> Result<Self>
fn deserialize<R: Read>(reader: &mut R) -> Result<Self>
Deserialize
sourceimpl Clone for U128FastFieldCodecType
impl Clone for U128FastFieldCodecType
sourcefn clone(&self) -> U128FastFieldCodecType
fn clone(&self) -> U128FastFieldCodecType
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for U128FastFieldCodecType
impl Debug for U128FastFieldCodecType
sourceimpl Ord for U128FastFieldCodecType
impl Ord for U128FastFieldCodecType
sourceimpl PartialEq<U128FastFieldCodecType> for U128FastFieldCodecType
impl PartialEq<U128FastFieldCodecType> for U128FastFieldCodecType
sourcefn eq(&self, other: &U128FastFieldCodecType) -> bool
fn eq(&self, other: &U128FastFieldCodecType) -> bool
sourceimpl PartialOrd<U128FastFieldCodecType> for U128FastFieldCodecType
impl PartialOrd<U128FastFieldCodecType> for U128FastFieldCodecType
sourcefn partial_cmp(&self, other: &U128FastFieldCodecType) -> Option<Ordering>
fn partial_cmp(&self, other: &U128FastFieldCodecType) -> Option<Ordering>
1.0.0const fn lt(&self, other: &Rhs) -> bool
const fn lt(&self, other: &Rhs) -> bool
1.0.0const fn le(&self, other: &Rhs) -> bool
const 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 more1.0.0const fn gt(&self, other: &Rhs) -> bool
const fn gt(&self, other: &Rhs) -> bool
impl Copy for U128FastFieldCodecType
impl Eq for U128FastFieldCodecType
impl StructuralEq for U128FastFieldCodecType
impl StructuralPartialEq for U128FastFieldCodecType
Auto Trait Implementations
impl RefUnwindSafe for U128FastFieldCodecType
impl Send for U128FastFieldCodecType
impl Sync for U128FastFieldCodecType
impl Unpin for U128FastFieldCodecType
impl UnwindSafe for U128FastFieldCodecType
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more