pub enum PreparedTestTransaction {
V1(PreparedTestIntent),
V2 {
root_intent: PreparedTestIntent,
subintents: Vec<PreparedTestIntent>,
},
}
Variants§
V1(PreparedTestIntent)
V2
Implementations§
Source§impl PreparedTestTransaction
impl PreparedTestTransaction
pub fn into_unvalidated_executable(self) -> ExecutableTransaction
Trait Implementations§
Source§impl IntoExecutable for PreparedTestTransaction
impl IntoExecutable for PreparedTestTransaction
type Error = Infallible
fn into_executable( self, _validator: &TransactionValidator, ) -> Result<ExecutableTransaction, Self::Error>
Source§fn 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.
Auto Trait Implementations§
impl Freeze for PreparedTestTransaction
impl RefUnwindSafe for PreparedTestTransaction
impl Send for PreparedTestTransaction
impl Sync for PreparedTestTransaction
impl Unpin for PreparedTestTransaction
impl UnwindSafe for PreparedTestTransaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more