pub enum HandshakeRole {
Client,
Server,
}Expand description
Handshake role (client or server)
Variants§
Trait Implementations§
Source§impl Clone for HandshakeRole
impl Clone for HandshakeRole
Source§fn clone(&self) -> HandshakeRole
fn clone(&self) -> HandshakeRole
Returns a duplicate 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 moreSource§impl Debug for HandshakeRole
impl Debug for HandshakeRole
Source§impl PartialEq for HandshakeRole
impl PartialEq for HandshakeRole
impl Copy for HandshakeRole
impl Eq for HandshakeRole
impl StructuralPartialEq for HandshakeRole
Auto Trait Implementations§
impl Freeze for HandshakeRole
impl RefUnwindSafe for HandshakeRole
impl Send for HandshakeRole
impl Sync for HandshakeRole
impl Unpin for HandshakeRole
impl UnwindSafe for HandshakeRole
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