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§
fn into_executable( self, validator: &TransactionValidator, ) -> Result<ExecutableTransaction, Self::Error>
Provided Methods§
Sourcefn into_executable_unwrap(self) -> ExecutableTransactionwhere
Self: Sized,
fn into_executable_unwrap(self) -> ExecutableTransactionwhere
Self: Sized,
For use in tests as a quick mechanism to get an executable. Validates with a network-independent validator, using the latest settings.