Enum geph4_protocol::VpnMessage [−][src]
pub enum VpnMessage {
ClientHello {
client_id: u128,
},
ServerHello {
client_ip: Ipv4Addr,
gateway: Ipv4Addr,
},
Payload(Bytes),
}
Expand description
VPN on-the-wire message
Variants
Fields of ClientHello
client_id: u128
Payload(Bytes)
Tuple Fields of Payload
0: Bytes
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for VpnMessage
impl Send for VpnMessage
impl Sync for VpnMessage
impl Unpin for VpnMessage
impl UnwindSafe for VpnMessage
Blanket Implementations
Mutably borrows from an owned value. Read more