pub struct DiscardProgress;Expand description
A progress callback that discards all notifications.
Trait Implementations§
Source§impl Clone for DiscardProgress
impl Clone for DiscardProgress
Source§fn clone(&self) -> DiscardProgress
fn clone(&self) -> DiscardProgress
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 DiscardProgress
impl Debug for DiscardProgress
Source§impl Default for DiscardProgress
impl Default for DiscardProgress
Source§fn default() -> DiscardProgress
fn default() -> DiscardProgress
Returns the “default value” for a type. Read more
Source§impl OnMcpProgress for DiscardProgress
impl OnMcpProgress for DiscardProgress
Source§fn on_progress(
&self,
_server_name: &str,
_notification: McpProgressNotification,
)
fn on_progress( &self, _server_name: &str, _notification: McpProgressNotification, )
Handle a progress notification from an MCP server.
Auto Trait Implementations§
impl Freeze for DiscardProgress
impl RefUnwindSafe for DiscardProgress
impl Send for DiscardProgress
impl Sync for DiscardProgress
impl Unpin for DiscardProgress
impl UnsafeUnpin for DiscardProgress
impl UnwindSafe for DiscardProgress
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