pub enum NotificationMethod {
Initialized,
Progress,
ResourceUpdated,
ResourceListChanged,
ToolListChanged,
PromptListChanged,
LogMessage,
}
Variants§
Initialized
Progress
ResourceUpdated
ResourceListChanged
ToolListChanged
PromptListChanged
LogMessage
Implementations§
Trait Implementations§
Source§impl Clone for NotificationMethod
impl Clone for NotificationMethod
Source§fn clone(&self) -> NotificationMethod
fn clone(&self) -> NotificationMethod
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 NotificationMethod
impl Debug for NotificationMethod
Source§impl<'de> Deserialize<'de> for NotificationMethod
impl<'de> Deserialize<'de> for NotificationMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NotificationMethod
impl PartialEq for NotificationMethod
Source§impl Serialize for NotificationMethod
impl Serialize for NotificationMethod
impl StructuralPartialEq for NotificationMethod
Auto Trait Implementations§
impl Freeze for NotificationMethod
impl RefUnwindSafe for NotificationMethod
impl Send for NotificationMethod
impl Sync for NotificationMethod
impl Unpin for NotificationMethod
impl UnwindSafe for NotificationMethod
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