pub enum HandshakeAction {
Done,
Skip,
Complete,
}Expand description
Action to take during capture handshake phase.
Variants§
Done
Handshake is complete (or protocol has no handshake). Process normally.
Skip
Skip this packet (still in handshake phase).
Complete
Handshake just completed with this packet. Skip it but mark as done.
Trait Implementations§
Source§impl Clone for HandshakeAction
impl Clone for HandshakeAction
Source§fn clone(&self) -> HandshakeAction
fn clone(&self) -> HandshakeAction
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 moreSource§impl Debug for HandshakeAction
impl Debug for HandshakeAction
Source§impl PartialEq for HandshakeAction
impl PartialEq for HandshakeAction
Source§fn eq(&self, other: &HandshakeAction) -> bool
fn eq(&self, other: &HandshakeAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HandshakeAction
impl Eq for HandshakeAction
impl StructuralPartialEq for HandshakeAction
Auto Trait Implementations§
impl Freeze for HandshakeAction
impl RefUnwindSafe for HandshakeAction
impl Send for HandshakeAction
impl Sync for HandshakeAction
impl Unpin for HandshakeAction
impl UnsafeUnpin for HandshakeAction
impl UnwindSafe for HandshakeAction
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