pub enum McpBindingState {
Pending,
Active,
Revoked,
}Expand description
Public lifecycle state of a capability route.
Variants§
Pending
Installed but not yet activated (SessionKey not claimed / refresh incomplete).
Active
Ready for tools/list and tools/call.
Revoked
Revoked; route removed or rejects all traffic.
Trait Implementations§
Source§impl Clone for McpBindingState
impl Clone for McpBindingState
Source§fn clone(&self) -> McpBindingState
fn clone(&self) -> McpBindingState
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 McpBindingState
Source§impl Debug for McpBindingState
impl Debug for McpBindingState
impl Eq for McpBindingState
Source§impl PartialEq for McpBindingState
impl PartialEq for McpBindingState
impl StructuralPartialEq for McpBindingState
Auto Trait Implementations§
impl Freeze for McpBindingState
impl RefUnwindSafe for McpBindingState
impl Send for McpBindingState
impl Sync for McpBindingState
impl Unpin for McpBindingState
impl UnsafeUnpin for McpBindingState
impl UnwindSafe for McpBindingState
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
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,
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.