pub enum SessionStateRealization {
Stateful(SelectedStateRealization),
Stateless,
}Expand description
Exact mutable-state ownership bound to one shared text session.
Variants§
Stateful(SelectedStateRealization)
This rank owns the selected local state components and geometry.
Stateless
This rank owns no mutable state components or prompt-cache shard payload.
Implementations§
Source§impl SessionStateRealization
impl SessionStateRealization
Sourcepub const fn state(&self) -> Option<&SelectedStateRealization>
pub const fn state(&self) -> Option<&SelectedStateRealization>
Returns the selected local state realization when this rank owns state.
Trait Implementations§
Source§impl Clone for SessionStateRealization
impl Clone for SessionStateRealization
Source§fn clone(&self) -> SessionStateRealization
fn clone(&self) -> SessionStateRealization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionStateRealization
impl Debug for SessionStateRealization
impl Eq for SessionStateRealization
Source§impl PartialEq for SessionStateRealization
impl PartialEq for SessionStateRealization
impl StructuralPartialEq for SessionStateRealization
Auto Trait Implementations§
impl Freeze for SessionStateRealization
impl RefUnwindSafe for SessionStateRealization
impl Send for SessionStateRealization
impl Sync for SessionStateRealization
impl Unpin for SessionStateRealization
impl UnsafeUnpin for SessionStateRealization
impl UnwindSafe for SessionStateRealization
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