pub enum FetchMarketError {
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 FetchMarketError
impl Clone for FetchMarketError
Source§fn clone(&self) -> FetchMarketError
fn clone(&self) -> FetchMarketError
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 FetchMarketError
impl Debug for FetchMarketError
Source§impl Display for FetchMarketError
impl Display for FetchMarketError
Source§impl Error for FetchMarketError
impl Error for FetchMarketError
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<FetchMarketError> for Error
impl From<FetchMarketError> for Error
Source§fn from(source: FetchMarketError) -> Self
fn from(source: FetchMarketError) -> Self
Converts to this type from the input type.
Source§impl From<RateLimitError> for FetchMarketError
impl From<RateLimitError> for FetchMarketError
Source§fn from(source: RateLimitError) -> Self
fn from(source: RateLimitError) -> Self
Converts to this type from the input type.
Source§impl From<RequestRejectedError> for FetchMarketError
impl From<RequestRejectedError> for FetchMarketError
Source§fn from(source: RequestRejectedError) -> Self
fn from(source: RequestRejectedError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for FetchMarketError
impl From<TransportError> for FetchMarketError
Source§fn from(source: TransportError) -> Self
fn from(source: TransportError) -> Self
Converts to this type from the input type.
Source§impl From<UnexpectedResponseError> for FetchMarketError
impl From<UnexpectedResponseError> for FetchMarketError
Source§fn from(source: UnexpectedResponseError) -> Self
fn from(source: UnexpectedResponseError) -> Self
Converts to this type from the input type.
Source§impl From<UserInputError> for FetchMarketError
impl From<UserInputError> for FetchMarketError
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 FetchMarketError
impl RefUnwindSafe for FetchMarketError
impl Send for FetchMarketError
impl Sync for FetchMarketError
impl Unpin for FetchMarketError
impl UnsafeUnpin for FetchMarketError
impl UnwindSafe for FetchMarketError
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