Implement Debug for vaults
This commit is contained in:
parent
5c044494e7
commit
f8f14c1097
2 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue