pub enum EndpointSecurity {
Insecure,
RustTls(RustTlsCertificate),
}
Variants§
Insecure
RustTls(RustTlsCertificate)
Implementations§
Source§impl EndpointSecurity
impl EndpointSecurity
pub fn supports_tls(&self) -> bool
Trait Implementations§
Source§impl Clone for EndpointSecurity
impl Clone for EndpointSecurity
Source§fn clone(&self) -> EndpointSecurity
fn clone(&self) -> EndpointSecurity
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for EndpointSecurity
impl !RefUnwindSafe for EndpointSecurity
impl Send for EndpointSecurity
impl Sync for EndpointSecurity
impl Unpin for EndpointSecurity
impl !UnwindSafe for EndpointSecurity
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