Skip to main content

HasHandshakeState

Trait HasHandshakeState 

Source
pub(super) trait HasHandshakeState {
    // Required method
    fn set_failed(&mut self);
}
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§