pub enum XtbClientBuilderError {
RequiredFieldMissing(String),
InvalidUrl(String, ParseError),
CannotMakeConnection(BasicXtbConnectionError),
CannotMakeStreamConnection(BasicXtbStreamConnectionError),
LoginFailed {
user_id: String,
extra_info: String,
},
UnexpectedError(String),
}
Variants§
RequiredFieldMissing(String)
InvalidUrl(String, ParseError)
CannotMakeConnection(BasicXtbConnectionError)
CannotMakeStreamConnection(BasicXtbStreamConnectionError)
LoginFailed
UnexpectedError(String)
Trait Implementations§
Source§impl Debug for XtbClientBuilderError
impl Debug for XtbClientBuilderError
Source§impl Display for XtbClientBuilderError
impl Display for XtbClientBuilderError
Source§impl Error for XtbClientBuilderError
impl Error for XtbClientBuilderError
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()
Auto Trait Implementations§
impl !Freeze for XtbClientBuilderError
impl !RefUnwindSafe for XtbClientBuilderError
impl Send for XtbClientBuilderError
impl Sync for XtbClientBuilderError
impl Unpin for XtbClientBuilderError
impl !UnwindSafe for XtbClientBuilderError
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