pub enum LauncherError {
JsonError(Error),
IoError(Error),
Utf8Error(FromUtf8Error),
InvalidResponse,
ApiError(String),
}Variants§
Trait Implementations§
Source§impl Debug for LauncherError
impl Debug for LauncherError
Source§impl Display for LauncherError
impl Display for LauncherError
Source§impl Error for LauncherError
impl Error for LauncherError
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<Error> for LauncherError
impl From<Error> for LauncherError
Source§impl From<Error> for LauncherError
impl From<Error> for LauncherError
Source§impl From<FromUtf8Error> for LauncherError
impl From<FromUtf8Error> for LauncherError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LauncherError
impl !RefUnwindSafe for LauncherError
impl Send for LauncherError
impl Sync for LauncherError
impl Unpin for LauncherError
impl !UnwindSafe for LauncherError
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