pub trait IntoTransactionHandler<DB>{
type Handler: TransactionHandler<DB, Item = Self::Item, Error = Self::Error>;
type Item;
type Error: From<DB::Error> + Send + Sync;
// Required method
fn into_transaction_handler(self) -> Self::Handler;
}
Expand description
A trait for converting types into transaction handlers
Required Associated Types§
Sourcetype Handler: TransactionHandler<DB, Item = Self::Item, Error = Self::Error>
type Handler: TransactionHandler<DB, Item = Self::Item, Error = Self::Error>
The handler type
Required Methods§
Sourcefn into_transaction_handler(self) -> Self::Handler
fn into_transaction_handler(self) -> Self::Handler
Convert this type into a transaction handler