pub struct PersonaStoreHandle { /* private fields */ }Expand description
A handle to the persona store for sharing across components.
Implementations§
Source§impl PersonaStoreHandle
impl PersonaStoreHandle
Sourcepub fn from_store(store: Arc<PersonaStore>) -> Self
pub fn from_store(store: Arc<PersonaStore>) -> Self
Creates a new handle wrapping the given store.
Sourcepub fn inner(&self) -> Arc<PersonaStore> ⓘ
pub fn inner(&self) -> Arc<PersonaStore> ⓘ
Returns a clone of the inner store.
Trait Implementations§
Source§impl Clone for PersonaStoreHandle
impl Clone for PersonaStoreHandle
Source§fn clone(&self) -> PersonaStoreHandle
fn clone(&self) -> PersonaStoreHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PersonaStoreHandle
impl !UnwindSafe for PersonaStoreHandle
impl Freeze for PersonaStoreHandle
impl Send for PersonaStoreHandle
impl Sync for PersonaStoreHandle
impl Unpin for PersonaStoreHandle
impl UnsafeUnpin for PersonaStoreHandle
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