pub struct SharedStore { /* private fields */ }Implementations§
pub fn new() -> Self
pub async fn apply_frame(&self, frame: Frame)
pub async fn mark_view_ready(&self, view: &str)
pub async fn wait_for_view_ready(&self, view: &str, timeout: Duration) -> bool
pub async fn get<T: DeserializeOwned>(&self, view: &str, key: &str) -> Option<T>
pub async fn list<T: DeserializeOwned>(&self, view: &str) -> Vec<T>
pub async fn all_raw(&self, view: &str) -> HashMap<String, Value>
pub fn subscribe(&self) -> Receiver<StoreUpdate>
Trait Implementations§
Auto Trait Implementations§
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