pub struct DeclineElicitationHandler;
Expand description
Default elicitation handler that declines all requests
Trait Implementations§
Source§impl Debug for DeclineElicitationHandler
impl Debug for DeclineElicitationHandler
Source§impl ElicitationHandler for DeclineElicitationHandler
impl ElicitationHandler for DeclineElicitationHandler
Source§fn handle_elicitation<'life0, 'async_trait>(
&'life0 self,
request: ElicitationRequest,
) -> Pin<Box<dyn Future<Output = HandlerResult<ElicitationResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_elicitation<'life0, 'async_trait>(
&'life0 self,
request: ElicitationRequest,
) -> Pin<Box<dyn Future<Output = HandlerResult<ElicitationResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an elicitation request from the server Read more
Auto Trait Implementations§
impl Freeze for DeclineElicitationHandler
impl RefUnwindSafe for DeclineElicitationHandler
impl Send for DeclineElicitationHandler
impl Sync for DeclineElicitationHandler
impl Unpin for DeclineElicitationHandler
impl UnwindSafe for DeclineElicitationHandler
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