pub enum SpoofProtocol {
None,
QUIC,
WebRTC_STUN,
HTTPS_H2,
DNS_over_UDP,
}Expand description
Protocol spoofing types
Variants§
Trait Implementations§
Source§impl Clone for SpoofProtocol
impl Clone for SpoofProtocol
Source§fn clone(&self) -> SpoofProtocol
fn clone(&self) -> SpoofProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpoofProtocol
Source§impl Debug for SpoofProtocol
impl Debug for SpoofProtocol
Source§impl<'de> Deserialize<'de> for SpoofProtocol
impl<'de> Deserialize<'de> for SpoofProtocol
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
impl Eq for SpoofProtocol
Source§impl PartialEq for SpoofProtocol
impl PartialEq for SpoofProtocol
Source§fn eq(&self, other: &SpoofProtocol) -> bool
fn eq(&self, other: &SpoofProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpoofProtocol
impl Serialize for SpoofProtocol
impl StructuralPartialEq for SpoofProtocol
Auto Trait Implementations§
impl Freeze for SpoofProtocol
impl RefUnwindSafe for SpoofProtocol
impl Send for SpoofProtocol
impl Sync for SpoofProtocol
impl Unpin for SpoofProtocol
impl UnsafeUnpin for SpoofProtocol
impl UnwindSafe for SpoofProtocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more