pub enum Carry {
Nothing,
Handoff,
}Expand description
What a new session at an address keeps from the previous one.
An enum rather than a flag: the two states are named actions with
different results on disk, and carry: true at a call site says
neither of them. Nothing is the first variant and the default,
because that is what a person means by starting a new session — a
new one, here, not a continuation (crates/sprawling/Spec.lean §8-82). The
handoff is the exception a person states.
Variants§
Nothing
Forget the shape the last session froze, and carry no summary.
Handoff
Forget the shape, keep the summary the last session wrote.
The shape still goes, which is the point of the verb: a person who carries the summary changed the model, and a room that kept its frozen shape could not dispatch at all.
Trait Implementations§
impl Copy for Carry
Source§impl<'de> Deserialize<'de> for Carry
impl<'de> Deserialize<'de> for Carry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Carry
impl StructuralPartialEq for Carry
Auto Trait Implementations§
impl Freeze for Carry
impl RefUnwindSafe for Carry
impl Send for Carry
impl Sync for Carry
impl Unpin for Carry
impl UnsafeUnpin for Carry
impl UnwindSafe for Carry
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