pub enum RegistryClientError {
RuntimeHttp(RuntimeHttpError),
InvalidSkillId(String),
HttpStatus {
route: String,
status: u16,
},
InvalidJson {
route: String,
message: String,
},
Contract {
route: String,
field_path: String,
message: String,
},
MissingInstallationId,
}Variants§
RuntimeHttp(RuntimeHttpError)
InvalidSkillId(String)
HttpStatus
InvalidJson
Contract
MissingInstallationId
Trait Implementations§
Source§impl Debug for RegistryClientError
impl Debug for RegistryClientError
Source§impl Display for RegistryClientError
impl Display for RegistryClientError
Source§impl Error for RegistryClientError
impl Error for RegistryClientError
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<RegistryClientError> for RegistryResolveError
impl From<RegistryClientError> for RegistryResolveError
Source§fn from(source: RegistryClientError) -> Self
fn from(source: RegistryClientError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeHttpError> for RegistryClientError
impl From<RuntimeHttpError> for RegistryClientError
Source§fn from(source: RuntimeHttpError) -> Self
fn from(source: RuntimeHttpError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegistryClientError
impl RefUnwindSafe for RegistryClientError
impl Send for RegistryClientError
impl Sync for RegistryClientError
impl Unpin for RegistryClientError
impl UnsafeUnpin for RegistryClientError
impl UnwindSafe for RegistryClientError
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