pub enum ElicitationError {
NotSupported,
Cancelled,
ConnectionLost,
Timeout,
Other(String),
}Expand description
Errors that can occur during elicitation.
Variants§
NotSupported
The client doesn’t support elicitation.
Cancelled
The elicitation request was cancelled.
ConnectionLost
The client connection was lost.
Timeout
A timeout occurred waiting for response.
Other(String)
An error occurred during elicitation.
Trait Implementations§
Source§impl Debug for ElicitationError
impl Debug for ElicitationError
Source§impl Display for ElicitationError
impl Display for ElicitationError
Source§impl Error for ElicitationError
impl Error for ElicitationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ElicitationError
impl RefUnwindSafe for ElicitationError
impl Send for ElicitationError
impl Sync for ElicitationError
impl Unpin for ElicitationError
impl UnsafeUnpin for ElicitationError
impl UnwindSafe for ElicitationError
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