#[non_exhaustive]pub enum RustlsPeerClosure {
Open,
Clean,
Truncated,
}Expand description
Authenticated peer-input termination observed by a TLS server session.
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.
Open
Further encrypted peer input remains possible.
Clean
The peer sent an authenticated TLS close_notify alert.
Truncated
Raw input ended without an authenticated TLS close_notify alert.
Trait Implementations§
Source§impl Clone for RustlsPeerClosure
impl Clone for RustlsPeerClosure
impl Copy for RustlsPeerClosure
Source§impl Debug for RustlsPeerClosure
impl Debug for RustlsPeerClosure
impl Eq for RustlsPeerClosure
Source§impl PartialEq for RustlsPeerClosure
impl PartialEq for RustlsPeerClosure
impl StructuralPartialEq for RustlsPeerClosure
Auto Trait Implementations§
impl Freeze for RustlsPeerClosure
impl RefUnwindSafe for RustlsPeerClosure
impl Send for RustlsPeerClosure
impl Sync for RustlsPeerClosure
impl Unpin for RustlsPeerClosure
impl UnsafeUnpin for RustlsPeerClosure
impl UnwindSafe for RustlsPeerClosure
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