fn with_db<F, T>(&self, f: F) -> Cancelable<T>
    where
        F: FnOnce(&RootDatabase) -> T + std::panic::UnwindSafe,
    {
        self.db.catch_canceled(f)
    }
/// Performs an operation on that may be Canceled.
Performs an operation on that may be Canceled.
Performs an operation on that may be Canceled .
fn with_db<F, T>(&self, f: F) -> Cancelable<T>
    where
        F: FnOnce(&RootDatabase) -> T + std::panic::UnwindSafe,
    {
        self.db.catch_canceled(f)
    }
fn with_db < F , T > ( & self , f : F ) -> Cancelable < T > where F : FnOnce ( & RootDatabase ) -> T + std :: panic :: UnwindSafe , { self . db . catch_canceled ( f ) }
Performs an operation on that may be Canceled.
Performs an operation on that may be Canceled .
&self
f
F