pub enum ReadLayout {
Direct,
Namespace(String),
}Expand description
Where a read set’s logical collections and ids live in storage.
One read set, one token semantics; only the storage addressing differs between the routes that commit transactions.
Variants§
Direct
The direct transaction route: rows under collection, keyed collection:id.
Namespace(String)
An application state namespace: rows under namespace:collection, keyed by id.
Trait Implementations§
Source§impl Clone for ReadLayout
impl Clone for ReadLayout
Source§impl Debug for ReadLayout
impl Debug for ReadLayout
impl Eq for ReadLayout
Source§impl PartialEq for ReadLayout
impl PartialEq for ReadLayout
impl StructuralPartialEq for ReadLayout
Auto Trait Implementations§
impl Freeze for ReadLayout
impl RefUnwindSafe for ReadLayout
impl Send for ReadLayout
impl Sync for ReadLayout
impl Unpin for ReadLayout
impl UnsafeUnpin for ReadLayout
impl UnwindSafe for ReadLayout
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