Trait IntoExecutable

Source
pub trait IntoExecutable {
    type Error: Debug;

    // Required method
    fn into_executable(
        self,
        validator: &TransactionValidator,
    ) -> Result<ExecutableTransaction, Self::Error>;

    // Provided method
    fn into_executable_unwrap(self) -> ExecutableTransaction
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Source

fn into_executable_unwrap(self) -> ExecutableTransaction
where Self: Sized,

For use in tests as a quick mechanism to get an executable. Validates with a network-independent validator, using the latest settings.

Implementations on Foreign Types§

Source§

impl<'a, T> IntoExecutable for &'a T
where T: IntoExecutable + Clone,

Implementors§