#[non_exhaustive]pub enum ClientRequestError {
Command(ClientCommandError),
Backend(BackendError),
}Expand description
Errors returned by typed client operations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Command(ClientCommandError)
The operation could not be delivered to the runner.
Backend(BackendError)
The backend rejected or failed the operation.
Trait Implementations§
Source§impl Debug for ClientRequestError
impl Debug for ClientRequestError
Source§impl Display for ClientRequestError
impl Display for ClientRequestError
Source§impl Error for ClientRequestError
impl Error for ClientRequestError
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<BackendError> for ClientRequestError
impl From<BackendError> for ClientRequestError
Source§fn from(source: BackendError) -> Self
fn from(source: BackendError) -> Self
Converts to this type from the input type.
Source§impl From<ClientCommandError> for ClientRequestError
impl From<ClientCommandError> for ClientRequestError
Source§fn from(source: ClientCommandError) -> Self
fn from(source: ClientCommandError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClientRequestError
impl RefUnwindSafe for ClientRequestError
impl Send for ClientRequestError
impl Sync for ClientRequestError
impl Unpin for ClientRequestError
impl UnsafeUnpin for ClientRequestError
impl UnwindSafe for ClientRequestError
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