Struct stun_codec::rfc5766::attributes::DontFragment
source · pub struct DontFragment;
Expand description
DONT-FRAGMENT
attribute.
See RFC 5766 – 14.8. DONT-FRAGMENT about this attribute.
Implementations§
Trait Implementations§
source§impl Attribute for DontFragment
impl Attribute for DontFragment
§type Decoder = DontFragmentDecoder
type Decoder = DontFragmentDecoder
The decoder of the value part of the attribute.
§type Encoder = DontFragmentEncoder
type Encoder = DontFragmentEncoder
The encoder of the value part of the attribute.
source§fn get_type(&self) -> AttributeType
fn get_type(&self) -> AttributeType
Returns the type of the attribute.
source§impl Clone for DontFragment
impl Clone for DontFragment
source§fn clone(&self) -> DontFragment
fn clone(&self) -> DontFragment
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 DontFragment
impl Debug for DontFragment
source§impl From<DontFragment> for Attribute
impl From<DontFragment> for Attribute
source§fn from(f: DontFragment) -> Self
fn from(f: DontFragment) -> Self
Converts to this type from the input type.
source§impl Hash for DontFragment
impl Hash for DontFragment
source§impl PartialEq for DontFragment
impl PartialEq for DontFragment
source§fn eq(&self, other: &DontFragment) -> bool
fn eq(&self, other: &DontFragment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryAsRef<DontFragment> for Attribute
impl TryAsRef<DontFragment> for Attribute
source§fn try_as_ref(&self) -> Option<&DontFragment>
fn try_as_ref(&self) -> Option<&DontFragment>
impl Copy for DontFragment
impl Eq for DontFragment
impl StructuralPartialEq for DontFragment
Auto Trait Implementations§
impl Freeze for DontFragment
impl RefUnwindSafe for DontFragment
impl Send for DontFragment
impl Sync for DontFragment
impl Unpin for DontFragment
impl UnwindSafe for DontFragment
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