wireguard 0.2.0

The Rust wireguard reference implementation, converted into a usable library.
Documentation
1
2
3
4
5
6
7
use std::net::SocketAddr;

pub trait Endpoint: Send + 'static {
    fn from_address(addr: SocketAddr) -> Self;
    fn into_address(&self) -> SocketAddr;
    fn clear_src(&mut self);
}