pub struct KeyringPlugin {
pub store: Arc<KeyringStore>,
pub sessions: SessionRegistry,
}Expand description
Root plugin state registered with Tauri (tauri::Manager::manage).
Fields§
§store: Arc<KeyringStore>Shared OS keyring accessor for the configured service name.
sessions: SessionRegistrySnapshot paths that have been initialized for this process (Stronghold-compatible session ids).
Implementations§
Source§impl KeyringPlugin
impl KeyringPlugin
Sourcepub fn new(service: impl Into<String>) -> Self
pub fn new(service: impl Into<String>) -> Self
Builds plugin state; normally done inside crate::Builder::build.
Auto Trait Implementations§
impl Freeze for KeyringPlugin
impl RefUnwindSafe for KeyringPlugin
impl Send for KeyringPlugin
impl Sync for KeyringPlugin
impl Unpin for KeyringPlugin
impl UnsafeUnpin for KeyringPlugin
impl UnwindSafe for KeyringPlugin
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