Struct exocore_store::local::StoreHandle [−][src]
pub struct StoreHandle<CS, PS> where
CS: ChainStore,
PS: PendingStore, { /* fields omitted */ }
Expand description
Handle to the store, allowing communication to the store asynchronously
Implementations
Trait Implementations
type WatchedQueryStream = WatchedQueryStream<CS, PS>
fn mutate<'life0, 'async_trait, M: Into<MutationRequestLike> + Send>(
&'life0 self,
request: M
) -> Pin<Box<dyn Future<Output = Result<MutationResult, Error>> + Send + 'async_trait>> where
M: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn query<'life0, 'async_trait>(
&'life0 self,
query: EntityQuery
) -> Pin<Box<dyn Future<Output = Result<EntityResults, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<CS, PS> !RefUnwindSafe for StoreHandle<CS, PS>
impl<CS, PS> Send for StoreHandle<CS, PS>
impl<CS, PS> Sync for StoreHandle<CS, PS>
impl<CS, PS> Unpin for StoreHandle<CS, PS>
impl<CS, PS> !UnwindSafe for StoreHandle<CS, PS>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more