pub struct DiscardLogging;Expand description
A logging callback that discards all messages.
Trait Implementations§
Source§impl Clone for DiscardLogging
impl Clone for DiscardLogging
Source§fn clone(&self) -> DiscardLogging
fn clone(&self) -> DiscardLogging
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 DiscardLogging
impl Debug for DiscardLogging
Source§impl Default for DiscardLogging
impl Default for DiscardLogging
Source§fn default() -> DiscardLogging
fn default() -> DiscardLogging
Returns the “default value” for a type. Read more
Source§impl OnMcpLogging for DiscardLogging
impl OnMcpLogging for DiscardLogging
Source§fn on_log(&self, _server_name: &str, _message: McpLoggingMessage)
fn on_log(&self, _server_name: &str, _message: McpLoggingMessage)
Handle a logging message from an MCP server.
Auto Trait Implementations§
impl Freeze for DiscardLogging
impl RefUnwindSafe for DiscardLogging
impl Send for DiscardLogging
impl Sync for DiscardLogging
impl Unpin for DiscardLogging
impl UnsafeUnpin for DiscardLogging
impl UnwindSafe for DiscardLogging
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