[−][src]Struct exonum::blockchain::CallRecords
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
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,
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,
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,
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,
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,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,