pub enum CallError {
Unidentified,
Unknown(String),
NotEntitled(Feature),
Failed(String),
InputRequired(Vec<Ask>),
NoTask(String),
Unavailable(String),
}Expand description
Why a call returned no result.
Variants§
Unidentified
The identity seam refused the caller.
Unknown(String)
NotEntitled(Feature)
Failed(String)
The arguments did not parse, or the operation failed; the message says which.
InputRequired(Vec<Ask>)
The operation asked the user these questions; the client answers and calls again.
NoTask(String)
No task with this id is kept for the caller.
The task store failed.
Trait Implementations§
Source§impl Error for CallError
impl Error for CallError
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()
impl StructuralPartialEq for CallError
Auto Trait Implementations§
impl Forget for CallError
impl Freeze for CallError
impl RefUnwindSafe for CallError
impl Send for CallError
impl Sync for CallError
impl Unpin for CallError
impl UnsafeUnpin for CallError
impl UnwindSafe for CallError
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