[][src]Struct eosio::UnsignedInt

pub struct UnsignedInt(_);

Variable Length Unsigned Integer. This provides more efficient serialization of 32-bit unsigned int. It serialuzes a 32-bit unsigned integer in as few bytes as possible. UnsignedInt is unsigned and uses VLQ or Base-128 encoding https://github.com/EOSIO/eosio.cdt/blob/4985359a30da1f883418b7133593f835927b8046/libraries/eosiolib/core/eosio/varint.hpp#L15-L237

Trait Implementations

impl Clone for UnsignedInt[src]

impl Debug for UnsignedInt[src]

impl Default for UnsignedInt[src]

impl Eq for UnsignedInt[src]

impl From<UnsignedInt> for usize[src]

impl From<u16> for UnsignedInt[src]

impl From<u32> for UnsignedInt[src]

impl From<u8> for UnsignedInt[src]

impl From<usize> for UnsignedInt[src]

impl Hash for UnsignedInt[src]

impl NumBytes for UnsignedInt[src]

impl Ord for UnsignedInt[src]

impl PartialEq<UnsignedInt> for UnsignedInt[src]

impl PartialOrd<UnsignedInt> for UnsignedInt[src]

impl Read for UnsignedInt[src]

impl StructuralEq for UnsignedInt[src]

impl StructuralPartialEq for UnsignedInt[src]

impl Write for UnsignedInt[src]

Auto Trait Implementations

impl Send for UnsignedInt

impl Sync for UnsignedInt

impl Unpin for UnsignedInt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.