pub struct LoggingHandler;
Expand description
Handler for logging requests
Implementations§
Source§impl LoggingHandler
impl LoggingHandler
Sourcepub async fn handle_set_level(
params: Option<Value>,
) -> McpResult<SetLoggingLevelResult>
pub async fn handle_set_level( params: Option<Value>, ) -> McpResult<SetLoggingLevelResult>
Handle logging/setLevel request
Auto Trait Implementations§
impl Freeze for LoggingHandler
impl RefUnwindSafe for LoggingHandler
impl Send for LoggingHandler
impl Sync for LoggingHandler
impl Unpin for LoggingHandler
impl UnwindSafe for LoggingHandler
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