pub struct FlowEngine { /* private fields */ }
Implementations§
Source§impl FlowEngine
impl FlowEngine
pub fn new() -> Result<Self>
pub async fn submit_transaction( &self, params: TaskParams, ) -> Result<(u64, Receiver<TaskResult<TaskParams, ProcessorResult>>)>
pub async fn submit_transactions( &self, paramss: Vec<TaskParams>, ) -> Result<Vec<(u64, Receiver<TaskResult<TaskParams, ProcessorResult>>)>>
Trait Implementations§
Source§impl Clone for FlowEngine
impl Clone for FlowEngine
Source§fn clone(&self) -> FlowEngine
fn clone(&self) -> FlowEngine
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FlowEngine
impl !RefUnwindSafe for FlowEngine
impl Send for FlowEngine
impl Sync for FlowEngine
impl Unpin for FlowEngine
impl !UnwindSafe for FlowEngine
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