Implement Debug for vaults

This commit is contained in:
Joscha 2023-02-12 21:18:34 +01:00
parent 5c044494e7
commit f8f14c1097
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ use crate::{Action, Migration};
/// This vault may be useful if you want to re-use existing [`Action`]s and
/// [`Migration`]s but don't need the additional guarantees and overhead of the
/// other vaults.
#[derive(Debug)]
pub struct SimpleVault(Connection);
impl SimpleVault {

View file

@ -86,7 +86,7 @@ fn run(mut conn: Connection, mut rx: mpsc::UnboundedReceiver<Command>) {
}
/// A vault for use with [`tokio`].
#[derive(Clone)]
#[derive(Debug, Clone)]
pub struct TokioVault {
tx: mpsc::UnboundedSender<Command>,
}