pub struct TlsSource {
pub kind: TlsSourceKind,
pub base_dir: PathBuf,
pub layout: TlsFileLayout,
pub fallback_ca_filename: String,
pub trust_system_ca: bool,
pub trust_leaf_as_ca: bool,
pub server_mtls_enabled: bool,
}Fields§
§kind: TlsSourceKind§base_dir: PathBuf§layout: TlsFileLayout§fallback_ca_filename: String§trust_system_ca: bool§trust_leaf_as_ca: bool§server_mtls_enabled: boolImplementations§
Source§impl TlsSource
impl TlsSource
pub fn from_directory(base_dir: impl Into<PathBuf>) -> Self
pub fn validate_directory(&self) -> Result<&Path, TlsRuntimeError>
Trait Implementations§
impl Eq for TlsSource
impl StructuralPartialEq for TlsSource
Auto Trait Implementations§
impl Freeze for TlsSource
impl RefUnwindSafe for TlsSource
impl Send for TlsSource
impl Sync for TlsSource
impl Unpin for TlsSource
impl UnsafeUnpin for TlsSource
impl UnwindSafe for TlsSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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