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 trust_everything(&mut self, trust_everything: bool)
pub fn enable(&mut self, enabled: bool)
pub fn enabled(&self) -> bool
pub fn hostname_verification_enable(&mut self, hostname_verification: bool)
pub fn hostname_verification_enabled(&self) -> bool
pub fn trust_everything_enabled(&self) -> bool
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
impl Copy for TlsConfiguration
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