pub enum CertificateEncoding {
PemUrl,
DerBase64,
Xfcc,
}Expand description
How the certificate header is written.
Variants§
PemUrl
URL-encoded PEM, the leaf first and any chain after it: nginx
$ssl_client_escaped_cert, AWS ALB X-Amzn-Mtls-Clientcert.
DerBase64
Base64 DER, certificates separated by commas: Traefik X-Forwarded-Tls-Client-Cert.
Xfcc
Envoy x-forwarded-client-cert: the Cert of the last element, which the proxy
next to this service wrote, as URL-encoded PEM.
Trait Implementations§
Source§impl Clone for CertificateEncoding
impl Clone for CertificateEncoding
impl Copy for CertificateEncoding
Source§impl Debug for CertificateEncoding
impl Debug for CertificateEncoding
Source§impl Default for CertificateEncoding
impl Default for CertificateEncoding
impl Eq for CertificateEncoding
Source§impl Leaf for CertificateEncoding
impl Leaf for CertificateEncoding
Source§fn labels() -> &'static [(&'static str, &'static str)]
fn labels() -> &'static [(&'static str, &'static str)]
A label for each fixed text the type names, as
(text, label): what a form shows
beside the text. Only the texts that have a label are listed.§fn same(a: &Self, b: &Self) -> bool
fn same(a: &Self, b: &Self) -> bool
Whether two values are the same setting. Settings are compared after both texts are
parsed into this type, never as the raw input: by default the canonical texts of the two
values are equal, which the round-trip contract makes the type’s own equality. A type
whose equal values can write different texts (
-0.0 and 0.0) overrides it.Source§impl PartialEq for CertificateEncoding
impl PartialEq for CertificateEncoding
impl StructuralPartialEq for CertificateEncoding
Auto Trait Implementations§
impl Freeze for CertificateEncoding
impl RefUnwindSafe for CertificateEncoding
impl Send for CertificateEncoding
impl Sync for CertificateEncoding
impl Unpin for CertificateEncoding
impl UnsafeUnpin for CertificateEncoding
impl UnwindSafe for CertificateEncoding
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Describe for Twhere
T: Leaf,
impl<T> Describe for Twhere
T: Leaf,
§const LEAF: bool = true
const LEAF: bool = true
The type is one text: a [
Leaf], or an untagged enum whose arms all are. An untagged
enum counts the arms that are not, and holds at most one.§fn description() -> Description
fn description() -> Description
What this type is.
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.