pub struct TransactionProcessor;
Expand description
事务处理器
Trait Implementations§
Source§impl TaskProcessor<(Arc<State>, Transaction), ProcessorResult> for TransactionProcessor
impl TaskProcessor<(Arc<State>, Transaction), ProcessorResult> for TransactionProcessor
fn process<'life0, 'async_trait>(
&'life0 self,
__arg1: TaskParams,
) -> Pin<Box<dyn Future<Output = Result<ProcessorResult, ProcessorError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for TransactionProcessor
impl RefUnwindSafe for TransactionProcessor
impl Send for TransactionProcessor
impl Sync for TransactionProcessor
impl Unpin for TransactionProcessor
impl UnwindSafe for TransactionProcessor
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