pub struct TlsSettingParams {
pub server_name: String,
pub enabled_h2: bool,
pub cipher_list: Option<String>,
pub cipher_suites: Option<String>,
pub tls_min_version: Option<String>,
pub tls_max_version: Option<String>,
}Expand description
Parameters for configuring TLS settings
Contains all the necessary configuration options for setting up TLS, including protocol versions, cipher suites, and HTTP/2 support.
Fields§
§server_name: String§enabled_h2: bool§cipher_list: Option<String>§cipher_suites: Option<String>§tls_min_version: Option<String>§tls_max_version: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsSettingParams
impl RefUnwindSafe for TlsSettingParams
impl Send for TlsSettingParams
impl Sync for TlsSettingParams
impl Unpin for TlsSettingParams
impl UnsafeUnpin for TlsSettingParams
impl UnwindSafe for TlsSettingParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request