pub struct IdentityWarning {
pub id: String,
pub subject: Option<String>,
pub sans: Vec<String>,
}Available on crate feature
client only.Expand description
The identifier configured does not appear in the client certificate.
Almost certainly Code::UnauthorizedAccess waiting to
happen on every request. Reported rather than refused, because a hub operator legitimately
acts for bundled sub-partners whose ids are not in its certificate — the spec’s hub-partner
chapter — and because a certificate this crate could not fully parse must not stop a partner
from working.
Fields§
§id: StringThe identifier that was configured.
subject: Option<String>The certificate’s subject, as far as it was read.
sans: Vec<String>The names found in the certificate.
Trait Implementations§
Source§impl Clone for IdentityWarning
impl Clone for IdentityWarning
Source§impl Debug for IdentityWarning
impl Debug for IdentityWarning
Source§impl Display for IdentityWarning
impl Display for IdentityWarning
impl Eq for IdentityWarning
Source§impl PartialEq for IdentityWarning
impl PartialEq for IdentityWarning
impl StructuralPartialEq for IdentityWarning
Auto Trait Implementations§
impl Freeze for IdentityWarning
impl RefUnwindSafe for IdentityWarning
impl Send for IdentityWarning
impl Sync for IdentityWarning
impl Unpin for IdentityWarning
impl UnsafeUnpin for IdentityWarning
impl UnwindSafe for IdentityWarning
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.