#[non_exhaustive]pub struct UpdateTlsOptions {
pub tls_config: Option<Arc<ClientConfig>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tls_config: Option<Arc<ClientConfig>>Implementations§
Source§impl UpdateTlsOptions
impl UpdateTlsOptions
pub fn new() -> Self
pub fn tls_config( self, tls_config: impl Into<Option<Arc<ClientConfig>>>, ) -> Self
Trait Implementations§
Source§impl Clone for UpdateTlsOptions
impl Clone for UpdateTlsOptions
Source§fn clone(&self) -> UpdateTlsOptions
fn clone(&self) -> UpdateTlsOptions
Returns a duplicate 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 Debug for UpdateTlsOptions
impl Debug for UpdateTlsOptions
Source§impl Default for UpdateTlsOptions
impl Default for UpdateTlsOptions
Source§fn default() -> UpdateTlsOptions
fn default() -> UpdateTlsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateTlsOptions
impl !RefUnwindSafe for UpdateTlsOptions
impl Send for UpdateTlsOptions
impl Sync for UpdateTlsOptions
impl Unpin for UpdateTlsOptions
impl UnsafeUnpin for UpdateTlsOptions
impl !UnwindSafe for UpdateTlsOptions
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