pub enum StunPadding {
Custom(u8),
Random,
}
Expand description
Custom padding used to encode a message. This feature required to enable
the flag experiments
Variants§
Trait Implementations§
source§impl Clone for StunPadding
impl Clone for StunPadding
source§fn clone(&self) -> StunPadding
fn clone(&self) -> StunPadding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StunPadding
impl Debug for StunPadding
source§impl PartialEq for StunPadding
impl PartialEq for StunPadding
impl Eq for StunPadding
impl StructuralPartialEq for StunPadding
Auto Trait Implementations§
impl Freeze for StunPadding
impl RefUnwindSafe for StunPadding
impl Send for StunPadding
impl Sync for StunPadding
impl Unpin for StunPadding
impl UnwindSafe for StunPadding
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)