pub enum Inbound {
Elicit {
message: String,
requested_schema: Value,
},
ListRoots,
}Expand description
A server→client request the host may be asked to answer.
Variants§
Elicit
elicitation/create — the server needs input from the human operator.
Carries the server’s message and the requested-schema, verbatim.
ListRoots
roots/list — the server is asking which URI roots it may operate on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnsafeUnpin for Inbound
impl UnwindSafe for Inbound
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