pub enum ServerInitiatedType {
Sampling,
Elicitation,
Roots,
Ping,
}Expand description
Types of server-initiated requests
Variants§
Sampling
Sampling/message creation request
Elicitation
Elicitation request for user input
Roots
Roots listing request
Ping
Ping/health check request
Trait Implementations§
Source§impl Clone for ServerInitiatedType
impl Clone for ServerInitiatedType
Source§fn clone(&self) -> ServerInitiatedType
fn clone(&self) -> ServerInitiatedType
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 ServerInitiatedType
impl Debug for ServerInitiatedType
Source§impl<'de> Deserialize<'de> for ServerInitiatedType
impl<'de> Deserialize<'de> for ServerInitiatedType
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 ServerInitiatedType
impl PartialEq for ServerInitiatedType
Source§impl Serialize for ServerInitiatedType
impl Serialize for ServerInitiatedType
impl StructuralPartialEq for ServerInitiatedType
Auto Trait Implementations§
impl Freeze for ServerInitiatedType
impl RefUnwindSafe for ServerInitiatedType
impl Send for ServerInitiatedType
impl Sync for ServerInitiatedType
impl Unpin for ServerInitiatedType
impl UnwindSafe for ServerInitiatedType
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