[−][src]Struct canonical_host::Transaction
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,
A: RefUnwindSafe,
R: RefUnwindSafe,
impl<A, R> Send for Transaction<A, R> where
A: Send,
R: Send,
A: Send,
R: Send,
impl<A, R> Sync for Transaction<A, R> where
A: Sync,
R: Sync,
A: Sync,
R: Sync,
impl<A, R> Unpin for Transaction<A, R> where
A: Unpin,
R: Unpin,
A: Unpin,
R: Unpin,
impl<A, R> UnwindSafe for Transaction<A, R> where
A: UnwindSafe,
R: UnwindSafe,
A: UnwindSafe,
R: 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>,