pub enum Negotiated {
None,
LoginOnly,
Session,
}Expand description
What the two sides settled on, once both have spoken.
Variants§
None
No TLS at all.
LoginOnly
TLS for the login packet, then back to the clear.
Session
TLS for everything.
Trait Implementations§
Source§impl Clone for Negotiated
impl Clone for Negotiated
Source§fn clone(&self) -> Negotiated
fn clone(&self) -> Negotiated
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 moreimpl Copy for Negotiated
Source§impl Debug for Negotiated
impl Debug for Negotiated
impl Eq for Negotiated
Source§impl PartialEq for Negotiated
impl PartialEq for Negotiated
impl StructuralPartialEq for Negotiated
Auto Trait Implementations§
impl Freeze for Negotiated
impl RefUnwindSafe for Negotiated
impl Send for Negotiated
impl Sync for Negotiated
impl Unpin for Negotiated
impl UnsafeUnpin for Negotiated
impl UnwindSafe for Negotiated
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