Enum elasticsearch::auth::ClientCertificate [−][src]
Variants
Bytes of a DER-formatted PKCS#12 archive and optional passphrase.
The archive should contain a leaf certificate and its private key, as well any intermediate certificates that allow clients to build a chain to a trusted root. The chain certificates should be in order from the leaf certificate towards the root.
Optional
This requires the native-tls
feature to be enabled.
Bytes of a PEM encoded private key and at least one PEM encoded certificate.
Optional
This requires the rustls-tls
feature to be enabled.
Trait Implementations
impl Clone for ClientCertificate
[src]
fn clone(&self) -> ClientCertificate
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClientCertificate
[src]
impl From<ClientCertificate> for Credentials
[src]
fn from(cert: ClientCertificate) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientCertificate
impl Send for ClientCertificate
impl Sync for ClientCertificate
impl Unpin for ClientCertificate
impl UnwindSafe for ClientCertificate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,