#[non_exhaustive]pub struct ClusterTls {
pub cert: PathBuf,
pub key: PathBuf,
pub ca: PathBuf,
}Expand description
The PEM files of a cluster’s mutual TLS, by their paths: this node’s certificate and key, and the CA every node’s certificate is checked against.
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.cert: PathBuf§key: PathBuf§ca: PathBufImplementations§
Trait Implementations§
Source§impl Clone for ClusterTls
impl Clone for ClusterTls
Auto Trait Implementations§
impl Forget for ClusterTls
impl Freeze for ClusterTls
impl Move for ClusterTls
impl RefUnwindSafe for ClusterTls
impl Send for ClusterTls
impl Sync for ClusterTls
impl Unpin for ClusterTls
impl UnsafeUnpin for ClusterTls
impl UnwindSafe for ClusterTls
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