pub trait State<T: 'static + Send + Sync>: Send + Sync {
    fn clone(&self) -> Box<dyn State<T>>;
    fn try_borrow(&self) -> Result<MappedRwLockReadGuard<'_, T>>;
    fn try_borrow_mut(&mut self) -> Result<MappedRwLockWriteGuard<'_, T>>;
}

Required Methods

Implementations

Implementations on Foreign Types

Implementors