pub enum Scope {
World,
Local,
}Expand description
Where a unit of story-state lives: the shared World or a flow’s
private FlowLocal.
World is visible to every flow sharing that world immediately on
write — the coordination path. Local is private to one flow; it
persists for that flow’s lifetime and only folds back into a parent via
an explicit (currently unimplemented, F3) commit.
Variants§
World
Shared across every flow over the world. This is the default —
matches today’s single-Context behavior byte-for-byte.
Local
Private to one flow.
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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