Struct rabbitmq_stream_client::TlsConfiguration
source · pub struct TlsConfiguration { /* private fields */ }
Expand description
Helper for tls configuration
Implementations§
source§impl TlsConfiguration
impl TlsConfiguration
pub fn enable(&mut self, enabled: bool)
pub fn enabled(&self) -> bool
pub fn trust_certificates(&mut self, trust_certificates: bool)
pub fn trust_certificates_enabled(&self) -> bool
pub fn get_root_certificates_path(&self) -> String
pub fn add_root_certificates_path(&mut self, certificate_path: String)
pub fn get_client_certificates_path(&self) -> String
pub fn get_client_keys_path(&self) -> String
pub fn add_client_certificates_keys( &mut self, certificate_path: String, client_private_key_path: String )
Trait Implementations§
source§impl Clone for TlsConfiguration
impl Clone for TlsConfiguration
source§fn clone(&self) -> TlsConfiguration
fn clone(&self) -> TlsConfiguration
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 moresource§impl Default for TlsConfiguration
impl Default for TlsConfiguration
source§fn default() -> TlsConfiguration
fn default() -> TlsConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TlsConfiguration
impl Send for TlsConfiguration
impl Sync for TlsConfiguration
impl Unpin for TlsConfiguration
impl UnwindSafe for TlsConfiguration
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