[][src]Struct concordium_std::ContractState

pub struct ContractState { /* fields omitted */ }

A type representing the constract state bytes.

Trait Implementations

impl Default for ContractState[src]

impl HasContractState<()> for ContractState[src]

type ContractStateData = ()

impl Read for ContractState[src]

pub fn read_u64(&mut self) -> ParseResult<u64>[src]

Read a u32 in little-endian format. This is optimized to not initialize a dummy value before calling an external function.

pub fn read_u32(&mut self) -> ParseResult<u32>[src]

Read a u32 in little-endian format. This is optimized to not initialize a dummy value before calling an external function.

pub fn read_u8(&mut self) -> ParseResult<u8>[src]

Read a u8 in little-endian format. This is optimized to not initialize a dummy value before calling an external function.

impl Seek for ContractState[src]

type Err = ()

impl Write for ContractState[src]

type Err = ()

Auto Trait Implementations

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<R, T> Get<T> for R where
    R: Read,
    T: Deserial
[src]

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

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.