pub trait SyncKeyPathLike<Root, Value, MutRoot, MutValue> {
// Required methods
fn sync_get(&self, root: Root) -> Option<Value>;
fn sync_get_mut(&self, root: MutRoot) -> Option<MutValue>;
}Expand description
Sync keypath that can be used as the “second” in AsyncLockKpThenLockKp for blanket impls. Also implemented for crate::Kp so crate::Kp::then_lock and crate::Kp::then_async can chain.