/// Action for the `remote` command (sent in response to a `>REMOTE:`
/// notification, requires `--management-query-remote`).
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum RemoteAction {
/// Accept the connection entry as-is.
Accept,
/// Skip this entry and advance to the next `--remote`.
Skip,
/// Skip multiple remote entries (OpenVPN 2.6+, management version > 3).
/// Wire: `remote SKIP n` where n > 0.
SkipN(u32),
/// Override the host and port.
Modify {
/// Replacement hostname or IP.
host: String,
/// Replacement port.
port: u16,
},
}