pub enum ConnectionSide {
Initiator,
Responder,
}
Expand description
Indicates who was the initiator and who was the responder when the connection was established.
Variants§
Trait Implementations§
Source§impl Clone for ConnectionSide
impl Clone for ConnectionSide
Source§fn clone(&self) -> ConnectionSide
fn clone(&self) -> ConnectionSide
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 ConnectionSide
impl Debug for ConnectionSide
Source§impl Not for ConnectionSide
impl Not for ConnectionSide
Source§impl PartialEq for ConnectionSide
impl PartialEq for ConnectionSide
impl Copy for ConnectionSide
impl Eq for ConnectionSide
impl StructuralPartialEq for ConnectionSide
Auto Trait Implementations§
impl Freeze for ConnectionSide
impl RefUnwindSafe for ConnectionSide
impl Send for ConnectionSide
impl Sync for ConnectionSide
impl Unpin for ConnectionSide
impl UnwindSafe for ConnectionSide
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