pub fn set_client_disconnect_mode<Conn>(
    conn: &Conn,
    disconnect_mode: ClientDisconnectFlags
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

Sets the disconnect mode for the client..

Fields

  • disconnect_mode - The new disconnect mode.