[][src]Struct exonum::blockchain::CallRecords

pub struct CallRecords<T: Access> { /* fields omitted */ }

Information about call errors within a specific block.

This data type can be used to get information or build proofs that execution of a certain call ended up with a particular status.

Methods

impl<T: Access> CallRecords<T>[src]

pub fn errors(&self) -> CallErrorsIter[src]

Iterates over errors in a block.

pub fn get(&self, call: CallInBlock) -> Result<(), ExecutionError>[src]

Returns a result of a call execution.

Return value

This method will return Ok(()) both if the call completed successfully, or if was not performed at all. The caller is responsible to distinguish these two outcomes.

pub fn get_proof(&self, call: CallInBlock) -> CallProof[src]

Returns a cryptographic proof of authenticity for a top-level call within a block.

Trait Implementations

impl<T: Debug + Access> Debug for CallRecords<T> where
    T::Base: Debug,
    T::Base: Debug
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for CallRecords<T> where
    T: RefUnwindSafe,
    <T as Access>::Base: RefUnwindSafe,
    <<T as Access>::Base as RawAccess>::Changes: RefUnwindSafe

impl<T> Send for CallRecords<T> where
    T: Send,
    <T as Access>::Base: Send,
    <<T as Access>::Base as RawAccess>::Changes: Send

impl<T> Sync for CallRecords<T> where
    T: Sync,
    <T as Access>::Base: Sync,
    <<T as Access>::Base as RawAccess>::Changes: Sync

impl<T> Unpin for CallRecords<T> where
    T: Unpin,
    <T as Access>::Base: Unpin,
    <<T as Access>::Base as RawAccess>::Changes: Unpin

impl<T> UnwindSafe for CallRecords<T> where
    T: UnwindSafe,
    <T as Access>::Base: UnwindSafe,
    <<T as Access>::Base as RawAccess>::Changes: UnwindSafe

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,