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§
Sourcefn set_failed(&mut self)
fn set_failed(&mut self)
Set the state to Failed
Implementors§
impl HasHandshakeState for SocksClientHandshake
Available on crate feature
client-handshake
only.impl HasHandshakeState for SocksProxyHandshake
Available on crate feature
proxy-handshake
only.