Skip to main content

RollbackJoin

Trait RollbackJoin 

Source
pub trait RollbackJoin<F, R>: From<Error<F, R>> {
    // Required method
    fn with_rollback(self, rollback: Error) -> Self;
}
Expand description

A caller’s error for a transaction it runs: built from sqlive’s errors, and able to keep a failed rollback beside its own cause.

Required Methods§

Source

fn with_rollback(self, rollback: Error) -> Self

Keep rollback, SQLite’s failure to roll back, beside this error.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<F, R> RollbackJoin<F, R> for Error<F, R>