Struct redis::ClientTlsConfig
source · pub struct ClientTlsConfig {
pub client_cert: Vec<u8>,
pub client_key: Vec<u8>,
}
Expand description
Structure to hold mTLS client certificate and key binaries in PEM format
Fields§
§client_cert: Vec<u8>
client certificate byte stream in PEM format
client_key: Vec<u8>
client key byte stream in PEM format
Trait Implementations§
source§impl Clone for ClientTlsConfig
impl Clone for ClientTlsConfig
source§fn clone(&self) -> ClientTlsConfig
fn clone(&self) -> ClientTlsConfig
Returns a copy of the value. Read more
1.0.0 · 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 RefUnwindSafe for ClientTlsConfig
impl Send for ClientTlsConfig
impl Sync for ClientTlsConfig
impl Unpin for ClientTlsConfig
impl UnwindSafe for ClientTlsConfig
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