pub enum EncryptionReply {
Accepted,
Rejected,
LegacyError,
}Expand description
The server’s single-byte answer to an SSL request.
Variants§
Accepted
Server sent S and requires an in-place encryption handshake.
Rejected
Server sent N and declined encryption.
LegacyError
Historical server sent E and terminated the connection.
Implementations§
Trait Implementations§
Source§impl Clone for EncryptionReply
impl Clone for EncryptionReply
Source§fn clone(&self) -> EncryptionReply
fn clone(&self) -> EncryptionReply
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 EncryptionReply
Source§impl Debug for EncryptionReply
impl Debug for EncryptionReply
impl Eq for EncryptionReply
Source§impl PartialEq for EncryptionReply
impl PartialEq for EncryptionReply
impl StructuralPartialEq for EncryptionReply
Auto Trait Implementations§
impl Freeze for EncryptionReply
impl RefUnwindSafe for EncryptionReply
impl Send for EncryptionReply
impl Sync for EncryptionReply
impl Unpin for EncryptionReply
impl UnsafeUnpin for EncryptionReply
impl UnwindSafe for EncryptionReply
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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