Enum openvpn3_rs::netcfg_node::constants::OVPNProto
source · #[repr(u8)]
pub enum OVPNProto {
UDP,
TCP,
}Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for OVPNProto
impl<'de> Deserialize<'de> for OVPNProto
source§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
source§impl PartialEq<OVPNProto> for OVPNProto
impl PartialEq<OVPNProto> for OVPNProto
impl Copy for OVPNProto
impl Eq for OVPNProto
impl StructuralEq for OVPNProto
impl StructuralPartialEq for OVPNProto
Auto Trait Implementations§
impl RefUnwindSafe for OVPNProto
impl Send for OVPNProto
impl Sync for OVPNProto
impl Unpin for OVPNProto
impl UnwindSafe for OVPNProto
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more