pub enum ListMarketsError {
UserInput(UserInputError),
RateLimit(RateLimitError),
RequestRejected(RequestRejectedError),
Transport(TransportError),
UnexpectedResponse(UnexpectedResponseError),
}Variants§
UserInput(UserInputError)
RateLimit(RateLimitError)
RequestRejected(RequestRejectedError)
Transport(TransportError)
UnexpectedResponse(UnexpectedResponseError)
Implementations§
Trait Implementations§
Source§impl Clone for ListMarketsError
impl Clone for ListMarketsError
Source§fn clone(&self) -> ListMarketsError
fn clone(&self) -> ListMarketsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListMarketsError
impl Debug for ListMarketsError
Source§impl Display for ListMarketsError
impl Display for ListMarketsError
Source§impl Error for ListMarketsError
impl Error for ListMarketsError
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<ListMarketsError> for Error
impl From<ListMarketsError> for Error
Source§fn from(source: ListMarketsError) -> Self
fn from(source: ListMarketsError) -> Self
Converts to this type from the input type.
Source§impl From<RateLimitError> for ListMarketsError
impl From<RateLimitError> for ListMarketsError
Source§fn from(source: RateLimitError) -> Self
fn from(source: RateLimitError) -> Self
Converts to this type from the input type.
Source§impl From<RequestRejectedError> for ListMarketsError
impl From<RequestRejectedError> for ListMarketsError
Source§fn from(source: RequestRejectedError) -> Self
fn from(source: RequestRejectedError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for ListMarketsError
impl From<TransportError> for ListMarketsError
Source§fn from(source: TransportError) -> Self
fn from(source: TransportError) -> Self
Converts to this type from the input type.
Source§impl From<UnexpectedResponseError> for ListMarketsError
impl From<UnexpectedResponseError> for ListMarketsError
Source§fn from(source: UnexpectedResponseError) -> Self
fn from(source: UnexpectedResponseError) -> Self
Converts to this type from the input type.
Source§impl From<UserInputError> for ListMarketsError
impl From<UserInputError> for ListMarketsError
Source§fn from(source: UserInputError) -> Self
fn from(source: UserInputError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ListMarketsError
impl RefUnwindSafe for ListMarketsError
impl Send for ListMarketsError
impl Sync for ListMarketsError
impl Unpin for ListMarketsError
impl UnsafeUnpin for ListMarketsError
impl UnwindSafe for ListMarketsError
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