pub enum CallError {
IO(Error),
InvalidResponse(InvalidResponse),
Avesterra(AvesterraError),
}
Variants§
IO(Error)
Error communicating with the server
InvalidResponse(InvalidResponse)
Invalid response from the server
Avesterra(AvesterraError)
Error returned by the server
Trait Implementations§
Source§impl Error for CallError
impl Error for CallError
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<AvesterraError> for CallError
impl From<AvesterraError> for CallError
Source§fn from(source: AvesterraError) -> Self
fn from(source: AvesterraError) -> Self
Converts to this type from the input type.
Source§impl From<ConvertValueError> for CallError
impl From<ConvertValueError> for CallError
Source§fn from(e: ConvertValueError) -> Self
fn from(e: ConvertValueError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidResponse> for CallError
impl From<InvalidResponse> for CallError
Source§fn from(source: InvalidResponse) -> Self
fn from(source: InvalidResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CallError
impl !RefUnwindSafe for CallError
impl Send for CallError
impl Sync for CallError
impl Unpin 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