Skip to main content

IntoTxOp

Trait IntoTxOp 

Source
pub trait IntoTxOp {
    // Required method
    fn into_tx_op(self) -> Result<TxOp, Error>;
}
Expand description

Per-element conversion to TxOp. Lets submit_tx/execute_tx accept either Vec<TxOp> or Vec<&str>/Vec<String> (each string parsed as one EDN tx op).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoTxOp for &str

Source§

impl IntoTxOp for String

Implementors§