[][src]Struct sawtooth_sabre::handler::SabreTransactionHandler

pub struct SabreTransactionHandler { /* fields omitted */ }

Handles Sabre Transactions

This handler implements the Sawtooth TransactionHandler trait, in order to execute Sabre transaction payloads. These payloads include on-chain smart contracts executed in a WebAssembly virtual machine.

WebAssembly (Wasm) is a stack-based virtual machine newly implemented in major browsers. It is well-suited for the purposes of smart contract execution due to its sandboxed design, growing popularity, and tool support.

Methods

impl SabreTransactionHandler[src]

pub fn new() -> SabreTransactionHandler[src]

Constructs a new SabreTransactionHandler

Trait Implementations

impl TransactionHandler for SabreTransactionHandler[src]

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<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

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.