Enum playit_agent_core::api::api::ApiErrorNoFail
source · pub enum ApiErrorNoFail<C> {
ApiError(ApiResponseError),
ClientError(C),
}Variants§
ApiError(ApiResponseError)
ClientError(C)
Trait Implementations§
source§impl<C: Debug> Debug for ApiErrorNoFail<C>
impl<C: Debug> Debug for ApiErrorNoFail<C>
source§impl<C: Debug> Display for ApiErrorNoFail<C>
impl<C: Debug> Display for ApiErrorNoFail<C>
source§impl<C: Debug> Error for ApiErrorNoFail<C>
impl<C: Debug> Error for ApiErrorNoFail<C>
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<ApiErrorNoFail<HttpClientError>> for SetupError
impl From<ApiErrorNoFail<HttpClientError>> for SetupError
source§fn from(value: ApiErrorNoFail<HttpClientError>) -> Self
fn from(value: ApiErrorNoFail<HttpClientError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C> Freeze for ApiErrorNoFail<C>where
C: Freeze,
impl<C> RefUnwindSafe for ApiErrorNoFail<C>where
C: RefUnwindSafe,
impl<C> Send for ApiErrorNoFail<C>where
C: Send,
impl<C> Sync for ApiErrorNoFail<C>where
C: Sync,
impl<C> Unpin for ApiErrorNoFail<C>where
C: Unpin,
impl<C> UnwindSafe for ApiErrorNoFail<C>where
C: UnwindSafe,
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