pub struct ScopedTeaStore<S: 'static, M: 'static, CS: 'static, CM: 'static, AK: 'static, SK>where
SK: RefKpTrait<S, CS> + Clone,{ /* private fields */ }Expand description
Child TeaStore routing actions through a parent action casepath.
Implementations§
Source§impl<S, M, CS, CM, AK, SK> ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> ScopedTeaStore<S, M, CS, CM, AK, SK>
pub fn send(&self, action: CM) -> StoreTask
pub fn dispatch(&self, action: CM)
pub fn child_state(&self) -> Result<Option<CS>, TeaStoreError>
pub fn subscribe_state( &self, ) -> Result<ScopedTeaStateSubscriber<S, CS, SK>, TeaStoreError>
Trait Implementations§
Source§impl<S, M, CS: 'static, CM: 'static, AK, SK> Clone for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS: 'static, CM: 'static, AK, SK> Clone for ScopedTeaStore<S, M, CS, CM, AK, SK>
Auto Trait Implementations§
impl<S, M, CS, CM, AK, SK> !RefUnwindSafe for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> !UnwindSafe for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Freeze for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Send for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Sync for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> Unpin for ScopedTeaStore<S, M, CS, CM, AK, SK>
impl<S, M, CS, CM, AK, SK> UnsafeUnpin for ScopedTeaStore<S, M, CS, CM, AK, SK>where
SK: UnsafeUnpin,
AK: UnsafeUnpin,
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