#[non_exhaustive]pub enum ClusterType {
Tcp,
TcpTls,
}Expand description
Indicates the connection type for the cluster (TCP or TCP with TLS).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl ClusterType
impl ClusterType
pub fn get_intended() -> ClusterType
Trait Implementations§
Source§impl Clone for ClusterType
impl Clone for ClusterType
Source§fn clone(&self) -> ClusterType
fn clone(&self) -> ClusterType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClusterType
impl Debug for ClusterType
Source§impl PartialEq for ClusterType
impl PartialEq for ClusterType
Source§fn eq(&self, other: &ClusterType) -> bool
fn eq(&self, other: &ClusterType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClusterType
impl StructuralPartialEq for ClusterType
Auto Trait Implementations§
impl Freeze for ClusterType
impl RefUnwindSafe for ClusterType
impl Send for ClusterType
impl Sync for ClusterType
impl Unpin for ClusterType
impl UnsafeUnpin for ClusterType
impl UnwindSafe for ClusterType
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