pub enum ContextManager {
Standard,
Progressive,
Distributed,
}Expand description
Context-management strategy — the [context] manager key and the
/context manager <name> command (Step 24.8, #559). standard is the
current prune → summary → static-marker pipeline. progressive and
distributed are the retrievable-card managers owned by #546 and not
yet available — selecting them reports that and stays on standard.
Variants§
Standard
Prune → summarize → static-marker (today’s behavior). The only one implemented; the selector seam for the others.
Progressive
Leave a lookup marker; retrieve cards on demand (ephemeral → local DB). Owned by #546 — not yet available.
Distributed
Agent-mesh-shared card store across a swarm. Owned by #546 — not yet available.
Implementations§
Source§impl ContextManager
impl ContextManager
Sourcepub fn from_keyword(s: &str) -> Option<Self>
pub fn from_keyword(s: &str) -> Option<Self>
Parse a CLI/config/command keyword (case-insensitive).
Sourcepub fn keyword(self) -> &'static str
pub fn keyword(self) -> &'static str
The canonical lowercase keyword (round-trips from_keyword + serde).
Sourcepub fn available(self) -> bool
pub fn available(self) -> bool
Whether this manager is implemented. Only standard today; the others
are owned by #546 (the selector reports “not yet available”).
Sourcepub fn base_features(self) -> ContextFeatureSet
pub fn base_features(self) -> ContextFeatureSet
The default feature bundle this preset turns on (Phase 26, #588). A
preset is a named bundle of composable ContextFeatures; config and
/context feature overrides layer on top (see ContextFeatures).
Every preset currently resolves to the all-off baseline (today’s
standard behavior) because no composable feature is implemented yet;
presets gain features as 26.3–26.6 land.
Trait Implementations§
Source§impl Clone for ContextManager
impl Clone for ContextManager
Source§fn clone(&self) -> ContextManager
fn clone(&self) -> ContextManager
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ContextManager
Source§impl Debug for ContextManager
impl Debug for ContextManager
Source§impl Default for ContextManager
impl Default for ContextManager
Source§fn default() -> ContextManager
fn default() -> ContextManager
Source§impl<'de> Deserialize<'de> for ContextManager
impl<'de> Deserialize<'de> for ContextManager
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>,
impl Eq for ContextManager
Source§impl PartialEq for ContextManager
impl PartialEq for ContextManager
Source§fn eq(&self, other: &ContextManager) -> bool
fn eq(&self, other: &ContextManager) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextManager
impl Serialize for ContextManager
impl StructuralPartialEq for ContextManager
Auto Trait Implementations§
impl Freeze for ContextManager
impl RefUnwindSafe for ContextManager
impl Send for ContextManager
impl Sync for ContextManager
impl Unpin for ContextManager
impl UnsafeUnpin for ContextManager
impl UnwindSafe for ContextManager
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more