pub struct SPMG { /* private fields */ }Implementations§
Source§impl SPMG
impl SPMG
pub fn new(config: Config) -> Self
pub fn init(&mut self, lock_pwd: Option<String>)
pub fn add(&mut self, pwd_id: String) -> Result<(), Error>
pub fn set(&mut self, pwd_id: String, password: String)
pub fn get( &mut self, pwd_id: String, lock_pwd: Option<String>, ) -> Option<String>
pub fn cache_expiration(&mut self) -> Option<String>
pub fn kill(&mut self)
pub fn disconnect(&mut self)
Auto Trait Implementations§
impl Freeze for SPMG
impl RefUnwindSafe for SPMG
impl Send for SPMG
impl Sync for SPMG
impl Unpin for SPMG
impl UnwindSafe for SPMG
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