pub enum HandshakeOutcome {
Success,
Failure,
}Expand description
Outcome of a handshake attempt.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HandshakeOutcome
impl Clone for HandshakeOutcome
Source§fn clone(&self) -> HandshakeOutcome
fn clone(&self) -> HandshakeOutcome
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 HandshakeOutcome
Source§impl Debug for HandshakeOutcome
impl Debug for HandshakeOutcome
impl Eq for HandshakeOutcome
Source§impl Hash for HandshakeOutcome
impl Hash for HandshakeOutcome
Source§impl PartialEq for HandshakeOutcome
impl PartialEq for HandshakeOutcome
Source§fn eq(&self, other: &HandshakeOutcome) -> bool
fn eq(&self, other: &HandshakeOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HandshakeOutcome
Auto Trait Implementations§
impl Freeze for HandshakeOutcome
impl RefUnwindSafe for HandshakeOutcome
impl Send for HandshakeOutcome
impl Sync for HandshakeOutcome
impl Unpin for HandshakeOutcome
impl UnsafeUnpin for HandshakeOutcome
impl UnwindSafe for HandshakeOutcome
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