pub struct Credentials<'a> {
pub certificate: Certificate<'a>,
pub private_key: PrivateKey,
}Expand description
The credentials (certificate and private key) used for client or server authentication
Fields§
§certificate: Certificate<'a>Certificate (chain)
private_key: PrivateKeyPrivate key paired with the certificate.
Trait Implementations§
Source§impl<'a> Clone for Credentials<'a>
impl<'a> Clone for Credentials<'a>
Source§fn clone(&self) -> Credentials<'a>
fn clone(&self) -> Credentials<'a>
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<'a> !Send for Credentials<'a>
impl<'a> !Sync for Credentials<'a>
impl<'a> Freeze for Credentials<'a>
impl<'a> RefUnwindSafe for Credentials<'a>
impl<'a> Unpin for Credentials<'a>
impl<'a> UnsafeUnpin for Credentials<'a>
impl<'a> UnwindSafe for Credentials<'a>
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