Skip to main content

Control

Type Alias Control 

type Control = (DisconnectReason, bool);
Available on crate feature tokio only.
Expand description

Why a connection ended, and whether an enqueued DISCONNECT should be flushed before the socket closes.