Crate wireguard_control

Source

Modules§

backends

Structs§

AllowedIp
Represents an IP address a peer is allowed to have, in CIDR notation.
Device
Represents all available information about a WireGuard device (interface).
DeviceUpdate
Builds and represents a configuration that can be applied to a WireGuard interface.
InterfaceName
The name of a Wireguard interface device.
InvalidKey
Represents an error in base64 key parsing.
Key
Represents a WireGuard encryption key.
KeyPair
Represents a pair of private and public keys.
PeerConfig
Represents a single peer’s configuration (i.e. persistent attributes).
PeerConfigBuilder
Builds and represents a single peer in a WireGuard interface configuration.
PeerInfo
Represents the complete status of a peer.
PeerStats
Represents a single peer’s current statistics (i.e. the data from the current session).

Enums§

Backend
InvalidInterfaceName
An interface name was bad.