pub enum ClientIdError {
NotHttps,
DocumentMismatch,
DocumentRegistration,
SecretForDocument,
}Expand description
A client_id or metadata document that does not satisfy what the mechanism
requires.
Variants§
NotHttps
A metadata document client_id that is not an HTTPS URL.
DocumentMismatch
A document whose client_id is not the URL it was served from.
DocumentRegistration
An RFC 7591 registration whose client_id is a metadata document URL.
SecretForDocument
A secret offered for a client identified by a metadata document.
Trait Implementations§
Source§impl Clone for ClientIdError
impl Clone for ClientIdError
impl Copy for ClientIdError
Source§impl Debug for ClientIdError
impl Debug for ClientIdError
Source§impl Display for ClientIdError
impl Display for ClientIdError
impl Eq for ClientIdError
Source§impl Error for ClientIdError
impl Error for ClientIdError
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<ClientIdError> for RegistrarError
impl From<ClientIdError> for RegistrarError
Source§fn from(source: ClientIdError) -> Self
fn from(source: ClientIdError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientIdError
impl PartialEq for ClientIdError
impl StructuralPartialEq for ClientIdError
Auto Trait Implementations§
impl Freeze for ClientIdError
impl RefUnwindSafe for ClientIdError
impl Send for ClientIdError
impl Sync for ClientIdError
impl Unpin for ClientIdError
impl UnsafeUnpin for ClientIdError
impl UnwindSafe for ClientIdError
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