Enum openvpn_plugin::EventType
source · #[non_exhaustive]
#[repr(i32)]
pub enum EventType {
Show 16 variants
Up,
Down,
RouteUp,
IpChange,
TlsVerify,
AuthUserPassVerify,
ClientConnect,
ClientDisconnect,
LearnAddress,
ClientConnectV2,
TlsFinal,
EnablePf,
RoutePredown,
ClientConnectDefer,
ClientConnectDeferV2,
ClientCrresponse,
}
Expand description
All the events that an OpenVPN plugin can register for and get notified about.
This is a Rust representation of the constants named OPENVPN_PLUGIN_*
in openvpn-plugin.h
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.