pub enum MrtrInputKind {
Elicitation,
Sampling,
Roots,
}Expand description
The three server-to-client input kinds represented by final MRTR.
These are embedded descriptors inside an inputRequests map. They are not
independent JSON-RPC requests and never receive a JSON-RPC ID.
Variants§
Elicitation
elicitation/create with an fastmcp_protocol::ElicitResult response.
Sampling
sampling/createMessage with a fastmcp_protocol::FinalCreateMessageResult response.
Roots
roots/list with a fastmcp_protocol::ListRootsResult response.
Implementations§
Trait Implementations§
Source§impl Clone for MrtrInputKind
impl Clone for MrtrInputKind
Source§fn clone(&self) -> MrtrInputKind
fn clone(&self) -> MrtrInputKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MrtrInputKind
Source§impl Debug for MrtrInputKind
impl Debug for MrtrInputKind
impl Eq for MrtrInputKind
Source§impl PartialEq for MrtrInputKind
impl PartialEq for MrtrInputKind
impl StructuralPartialEq for MrtrInputKind
Auto Trait Implementations§
impl Freeze for MrtrInputKind
impl RefUnwindSafe for MrtrInputKind
impl Send for MrtrInputKind
impl Sync for MrtrInputKind
impl Unpin for MrtrInputKind
impl UnsafeUnpin for MrtrInputKind
impl UnwindSafe for MrtrInputKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).