pub enum SettingScope {
Shared,
Cli,
Mcp,
}Expand description
Which runtime surface owns a setting.
Variants§
Parsed by plugmem-host and shared by every wrapper.
Cli
Read by plugmem-cli in addition to the shared settings.
Mcp
Read by plugmem-mcp in addition to the shared settings.
Implementations§
Trait Implementations§
Source§impl Clone for SettingScope
impl Clone for SettingScope
Source§fn clone(&self) -> SettingScope
fn clone(&self) -> SettingScope
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 moreimpl Copy for SettingScope
Source§impl Debug for SettingScope
impl Debug for SettingScope
impl Eq for SettingScope
Source§impl PartialEq for SettingScope
impl PartialEq for SettingScope
impl StructuralPartialEq for SettingScope
Auto Trait Implementations§
impl Freeze for SettingScope
impl RefUnwindSafe for SettingScope
impl Send for SettingScope
impl Sync for SettingScope
impl Unpin for SettingScope
impl UnsafeUnpin for SettingScope
impl UnwindSafe for SettingScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.