pub enum AskError {
Failure {
msg: String,
},
InvalidResponse {
reply: Reply,
},
Timeout,
EncodingFailed,
SendFailed,
CallbackLost,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AskError
impl<'de> Deserialize<'de> for AskError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for AskError
impl Error for AskError
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()
Source§impl From<AskError> for ExecAskError
impl From<AskError> for ExecAskError
Source§impl From<AskError> for FileAskError
impl From<AskError> for FileAskError
impl Eq for AskError
impl StructuralPartialEq for AskError
Auto Trait Implementations§
impl Freeze for AskError
impl RefUnwindSafe for AskError
impl Send for AskError
impl Sync for AskError
impl Unpin for AskError
impl UnsafeUnpin for AskError
impl UnwindSafe for AskError
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
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.