pub enum SystemOneError {
Transport(String),
Timeout,
Http {
status: u16,
body: String,
},
InvalidResponse(String),
}Expand description
Why a System One call failed; the tool layer words its message from these variants.
Variants§
Trait Implementations§
Source§impl Clone for SystemOneError
impl Clone for SystemOneError
Source§impl Debug for SystemOneError
impl Debug for SystemOneError
Source§impl Display for SystemOneError
impl Display for SystemOneError
impl Eq for SystemOneError
Source§impl Error for SystemOneError
impl Error for SystemOneError
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 PartialEq for SystemOneError
impl PartialEq for SystemOneError
impl StructuralPartialEq for SystemOneError
Auto Trait Implementations§
impl Freeze for SystemOneError
impl RefUnwindSafe for SystemOneError
impl Send for SystemOneError
impl Sync for SystemOneError
impl Unpin for SystemOneError
impl UnsafeUnpin for SystemOneError
impl UnwindSafe for SystemOneError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.