pub struct MountResult {
pub tools: usize,
pub resources: usize,
pub resource_templates: usize,
pub prompts: usize,
pub warnings: Vec<String>,
}Expand description
Result of a mount operation.
Fields§
§tools: usizeNumber of tools mounted.
resources: usizeNumber of resources mounted.
resource_templates: usizeNumber of resource templates mounted.
prompts: usizeNumber of prompts mounted.
warnings: Vec<String>Any warnings generated during mounting (e.g., name conflicts).
Implementations§
Source§impl MountResult
impl MountResult
Sourcepub fn has_components(&self) -> bool
pub fn has_components(&self) -> bool
Returns true if any components were mounted.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Returns true if mounting was successful (currently always true).
Trait Implementations§
Source§impl Debug for MountResult
impl Debug for MountResult
Source§impl Default for MountResult
impl Default for MountResult
Source§fn default() -> MountResult
fn default() -> MountResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MountResult
impl RefUnwindSafe for MountResult
impl Send for MountResult
impl Sync for MountResult
impl Unpin for MountResult
impl UnwindSafe for MountResult
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).