pub enum RegistryError {
Show 14 variants
Reference(ReferenceError),
Metadata(MetadataError),
InvalidUrl,
InvalidHeader,
MissingHeader(&'static str),
InvalidChallenge,
UnsupportedAuthentication,
InvalidTokenResponse,
HttpStatus(u16),
BufferTooSmall,
InvalidPageSize,
InsecureRedirect,
RelativeRedirectRequiresResolution,
InvalidCredentials,
}Variants§
Reference(ReferenceError)
Metadata(MetadataError)
InvalidUrl
InvalidHeader
MissingHeader(&'static str)
InvalidChallenge
UnsupportedAuthentication
InvalidTokenResponse
HttpStatus(u16)
BufferTooSmall
InvalidPageSize
InsecureRedirect
RelativeRedirectRequiresResolution
InvalidCredentials
Trait Implementations§
Source§impl Clone for RegistryError
impl Clone for RegistryError
impl Copy for RegistryError
Source§impl Debug for RegistryError
impl Debug for RegistryError
Source§impl Display for RegistryError
impl Display for RegistryError
impl Eq for RegistryError
Source§impl From<JsonError> for RegistryError
impl From<JsonError> for RegistryError
Source§impl From<MetadataError> for RegistryError
impl From<MetadataError> for RegistryError
Source§fn from(error: MetadataError) -> Self
fn from(error: MetadataError) -> Self
Converts to this type from the input type.
Source§impl From<ReferenceError> for RegistryError
impl From<ReferenceError> for RegistryError
Source§fn from(error: ReferenceError) -> Self
fn from(error: ReferenceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegistryError
impl PartialEq for RegistryError
impl StructuralPartialEq for RegistryError
Auto Trait Implementations§
impl Freeze for RegistryError
impl RefUnwindSafe for RegistryError
impl Send for RegistryError
impl Sync for RegistryError
impl Unpin for RegistryError
impl UnsafeUnpin for RegistryError
impl UnwindSafe for RegistryError
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