pub enum PatternStrictness {
Strict,
Permissive,
ProvisionalForDynamicNamespaces,
}Expand description
Strictness mode for glob pattern matching against the tool registry.
Controls whether a zero-match glob is a fatal error or a warning.
Variants§
Strict
All namespaces are strict — zero-match globs are fatal.
Permissive
All namespaces are permissive — zero-match globs are warnings only.
ProvisionalForDynamicNamespaces
builtin: and skill: globs are strict; mcp:, acp:, a2a: are provisional.
This is the default because MCP servers may not be connected at startup.
Trait Implementations§
Source§impl Clone for PatternStrictness
impl Clone for PatternStrictness
Source§fn clone(&self) -> PatternStrictness
fn clone(&self) -> PatternStrictness
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 PatternStrictness
impl Debug for PatternStrictness
Source§impl Default for PatternStrictness
impl Default for PatternStrictness
Source§fn default() -> PatternStrictness
fn default() -> PatternStrictness
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatternStrictness
impl<'de> Deserialize<'de> for PatternStrictness
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
Source§impl PartialEq for PatternStrictness
impl PartialEq for PatternStrictness
Source§fn eq(&self, other: &PatternStrictness) -> bool
fn eq(&self, other: &PatternStrictness) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PatternStrictness
impl Serialize for PatternStrictness
impl Copy for PatternStrictness
impl Eq for PatternStrictness
impl StructuralPartialEq for PatternStrictness
Auto Trait Implementations§
impl Freeze for PatternStrictness
impl RefUnwindSafe for PatternStrictness
impl Send for PatternStrictness
impl Sync for PatternStrictness
impl Unpin for PatternStrictness
impl UnsafeUnpin for PatternStrictness
impl UnwindSafe for PatternStrictness
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.