pub struct UserInputError(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UserInputError
impl Clone for UserInputError
Source§fn clone(&self) -> UserInputError
fn clone(&self) -> UserInputError
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 UserInputError
impl Debug for UserInputError
Source§impl Display for UserInputError
impl Display for UserInputError
Source§impl Error for UserInputError
impl Error for UserInputError
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<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.
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.
Source§impl From<UserInputError> for ListEventsError
impl From<UserInputError> for ListEventsError
Source§fn from(source: UserInputError) -> Self
fn from(source: UserInputError) -> Self
Converts to this type from the input type.
Source§impl From<UserInputError> for FetchMidpointError
impl From<UserInputError> for FetchMidpointError
Source§fn from(source: UserInputError) -> Self
fn from(source: UserInputError) -> Self
Converts to this type from the input type.
Source§impl From<UserInputError> for FetchOrderBookError
impl From<UserInputError> for FetchOrderBookError
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 UserInputError
impl RefUnwindSafe for UserInputError
impl Send for UserInputError
impl Sync for UserInputError
impl Unpin for UserInputError
impl UnsafeUnpin for UserInputError
impl UnwindSafe for UserInputError
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