pub enum PaddingProfile {
None,
DtlsSrtp,
HttpsTls,
FixedMtu,
}Expand description
Padding profile — mimics real-world traffic distributions.
Variants§
Trait Implementations§
Source§impl Clone for PaddingProfile
impl Clone for PaddingProfile
Source§fn clone(&self) -> PaddingProfile
fn clone(&self) -> PaddingProfile
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 PaddingProfile
Source§impl Debug for PaddingProfile
impl Debug for PaddingProfile
impl Eq for PaddingProfile
Source§impl PartialEq for PaddingProfile
impl PartialEq for PaddingProfile
Source§fn eq(&self, other: &PaddingProfile) -> bool
fn eq(&self, other: &PaddingProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaddingProfile
Auto Trait Implementations§
impl Freeze for PaddingProfile
impl RefUnwindSafe for PaddingProfile
impl Send for PaddingProfile
impl Sync for PaddingProfile
impl Unpin for PaddingProfile
impl UnsafeUnpin for PaddingProfile
impl UnwindSafe for PaddingProfile
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