pub enum RejectionKind {
Metacharacter,
HardDeny,
EscapesRoot,
Empty,
ParseError,
}Expand description
Stable categorisation suitable for serialising into MCP tool responses.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RejectionKind
impl Clone for RejectionKind
Source§fn clone(&self) -> RejectionKind
fn clone(&self) -> RejectionKind
Returns a duplicate of the value. Read more
1.0.0 · 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 RejectionKind
impl Debug for RejectionKind
Source§impl PartialEq for RejectionKind
impl PartialEq for RejectionKind
impl Copy for RejectionKind
impl Eq for RejectionKind
impl StructuralPartialEq for RejectionKind
Auto Trait Implementations§
impl Freeze for RejectionKind
impl RefUnwindSafe for RejectionKind
impl Send for RejectionKind
impl Sync for RejectionKind
impl Unpin for RejectionKind
impl UnsafeUnpin for RejectionKind
impl UnwindSafe for RejectionKind
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.