pub struct MtlsIdentity {
pub name: String,
pub cert_path: PathBuf,
pub key_path: PathBuf,
}Available on crate feature
tls only.Expand description
Named mTLS client identity on disk.
Fields§
§name: StringLogical name (XDG leaf).
cert_path: PathBufAbsolute path to certificate chain PEM.
key_path: PathBufAbsolute path to private key PEM.
Trait Implementations§
Source§impl Clone for MtlsIdentity
impl Clone for MtlsIdentity
Source§fn clone(&self) -> MtlsIdentity
fn clone(&self) -> MtlsIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MtlsIdentity
impl RefUnwindSafe for MtlsIdentity
impl Send for MtlsIdentity
impl Sync for MtlsIdentity
impl Unpin for MtlsIdentity
impl UnsafeUnpin for MtlsIdentity
impl UnwindSafe for MtlsIdentity
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