pub struct HandlerStats {
pub elicitation_handlers: usize,
pub completion_providers: usize,
pub template_handlers: usize,
pub ping_handlers: usize,
pub total_components: usize,
}
Expand description
Statistics about registered handlers
Fields§
§elicitation_handlers: usize
Number of elicitation handlers
completion_providers: usize
Number of completion providers
template_handlers: usize
Number of template handlers
ping_handlers: usize
Number of ping handlers
total_components: usize
Total number of components with capabilities
Trait Implementations§
Source§impl Clone for HandlerStats
impl Clone for HandlerStats
Source§fn clone(&self) -> HandlerStats
fn clone(&self) -> HandlerStats
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 moreAuto Trait Implementations§
impl Freeze for HandlerStats
impl RefUnwindSafe for HandlerStats
impl Send for HandlerStats
impl Sync for HandlerStats
impl Unpin for HandlerStats
impl UnwindSafe for HandlerStats
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