pub enum HandshakeNodeKind {
Propose,
Accept,
Refuse,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for HandshakeNodeKind
impl Clone for HandshakeNodeKind
Source§fn clone(&self) -> HandshakeNodeKind
fn clone(&self) -> HandshakeNodeKind
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 HandshakeNodeKind
impl Debug for HandshakeNodeKind
Source§impl<'_enum> From<&'_enum HandshakeNode> for HandshakeNodeKind
impl<'_enum> From<&'_enum HandshakeNode> for HandshakeNodeKind
Source§fn from(val: &'_enum HandshakeNode) -> HandshakeNodeKind
fn from(val: &'_enum HandshakeNode) -> HandshakeNodeKind
Converts to this type from the input type.
Source§impl From<HandshakeNode> for HandshakeNodeKind
impl From<HandshakeNode> for HandshakeNodeKind
Source§fn from(val: HandshakeNode) -> HandshakeNodeKind
fn from(val: HandshakeNode) -> HandshakeNodeKind
Converts to this type from the input type.
Source§impl PartialEq for HandshakeNodeKind
impl PartialEq for HandshakeNodeKind
impl Copy for HandshakeNodeKind
impl Eq for HandshakeNodeKind
impl StructuralPartialEq for HandshakeNodeKind
Auto Trait Implementations§
impl Freeze for HandshakeNodeKind
impl RefUnwindSafe for HandshakeNodeKind
impl Send for HandshakeNodeKind
impl Sync for HandshakeNodeKind
impl Unpin for HandshakeNodeKind
impl UnwindSafe for HandshakeNodeKind
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