Trait HasHandshakeState

Source
pub(super) trait HasHandshakeState {
    // Required method
    fn set_failed(&mut self);
}
Available on crate features proxy-handshake or client-handshake only.
Expand description

Handshake structs that have a state that can be Failed

Derive this with #[derive_deftly(Handshake)].

Required Methods§

Source

fn set_failed(&mut self)

Set the state to Failed

Implementors§

Source§

impl HasHandshakeState for SocksClientHandshake

Available on crate feature client-handshake only.
Source§

impl HasHandshakeState for SocksProxyHandshake

Available on crate feature proxy-handshake only.