[][src]Struct canonical_host::Transaction

pub struct Transaction<A, R> { /* fields omitted */ }

Represents the type of a transaction

Implementations

impl<A, R> Transaction<A, R>[src]

pub fn new(args: A) -> Self[src]

Create a new transaction

pub fn args(&self) -> &A[src]

Returns a reference to the transactions arguments

Trait Implementations

impl<A: Debug, R: Debug> Debug for Transaction<A, R>[src]

Auto Trait Implementations

impl<A, R> RefUnwindSafe for Transaction<A, R> where
    A: RefUnwindSafe,
    R: RefUnwindSafe

impl<A, R> Send for Transaction<A, R> where
    A: Send,
    R: Send

impl<A, R> Sync for Transaction<A, R> where
    A: Sync,
    R: Sync

impl<A, R> Unpin for Transaction<A, R> where
    A: Unpin,
    R: Unpin

impl<A, R> UnwindSafe for Transaction<A, R> where
    A: UnwindSafe,
    R: 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.