pub struct Signet<S> { /* private fields */ }Implementations§
Source§impl<S: System> Signet<S>
impl<S: System> Signet<S>
pub fn new(root: PathBuf) -> Self
pub fn initialize(&self, password: Password) -> Result<(), Error>
pub fn current(&self) -> Result<Keychain, Error>
pub fn find(&self, id: &str) -> Result<Key, Error>
pub fn keystore(&self) -> Result<Keystore, Error>
pub fn keychain(&self, name: &str) -> Result<Keychain, Error>
pub fn sync<T: Persistent>(&self, data: &T) -> Result<(), Error>
Auto Trait Implementations§
impl<S> Freeze for Signet<S>
impl<S> RefUnwindSafe for Signet<S>where
S: RefUnwindSafe,
impl<S> Send for Signet<S>where
S: Send,
impl<S> Sync for Signet<S>where
S: Sync,
impl<S> Unpin for Signet<S>where
S: Unpin,
impl<S> UnwindSafe for Signet<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more