pub struct McpServiceSnapshot { /* private fields */ }Expand description
Safe immutable MCP lifecycle and catalog projection for product hosts.
Implementations§
Source§impl McpServiceSnapshot
impl McpServiceSnapshot
Sourcepub fn servers(&self) -> &[McpServerHealth]
pub fn servers(&self) -> &[McpServerHealth]
Returns server health in canonical server-ID order.
Sourcepub fn catalog(&self) -> &[McpCatalogEntry]
pub fn catalog(&self) -> &[McpCatalogEntry]
Returns enabled frozen aliases in canonical local-alias order.
Trait Implementations§
Source§impl Clone for McpServiceSnapshot
impl Clone for McpServiceSnapshot
Source§impl Debug for McpServiceSnapshot
impl Debug for McpServiceSnapshot
Source§impl Default for McpServiceSnapshot
impl Default for McpServiceSnapshot
impl Eq for McpServiceSnapshot
Source§impl PartialEq for McpServiceSnapshot
impl PartialEq for McpServiceSnapshot
impl StructuralPartialEq for McpServiceSnapshot
Auto Trait Implementations§
impl Freeze for McpServiceSnapshot
impl RefUnwindSafe for McpServiceSnapshot
impl Send for McpServiceSnapshot
impl Sync for McpServiceSnapshot
impl Unpin for McpServiceSnapshot
impl UnsafeUnpin for McpServiceSnapshot
impl UnwindSafe for McpServiceSnapshot
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§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.