chore: Move rest of coloring.rs into secret-memory crate

Also removes the StoreSecret trait from cli.rs as it was
redundant.
This commit is contained in:
Karolin Varner
2023-11-30 12:46:13 +01:00
committed by Karolin Varner
parent 7bda010a9b
commit cf132bca11
12 changed files with 72 additions and 83 deletions

View File

@@ -0,0 +1,7 @@
use std::path::Path;
pub trait StoreSecret {
type Error;
fn store_secret<P: AsRef<Path>>(&self, path: P) -> Result<(), Self::Error>;
}