pub enum ListKind {
Tools,
Resources,
Prompts,
}Expand description
The list notifications a session can ask for.
Three, not four: resource templates are announced under
notifications/resources/list_changed, because the specification files
them under the resources capability and gives them no notification of
their own.
Variants§
Tools
notifications/tools/list_changed.
Resources
notifications/resources/list_changed, for resources and templates.
Prompts
notifications/prompts/list_changed.
Implementations§
Trait Implementations§
impl Copy for ListKind
impl Eq for ListKind
impl StructuralPartialEq for ListKind
Auto Trait Implementations§
impl Freeze for ListKind
impl RefUnwindSafe for ListKind
impl Send for ListKind
impl Sync for ListKind
impl Unpin for ListKind
impl UnsafeUnpin for ListKind
impl UnwindSafe for ListKind
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