pub struct AttributeHeader { /* private fields */ }
Expand description
Structure for holding the header of a STUN attribute. Contains the type and the length
Implementations§
Trait Implementations§
Source§impl Clone for AttributeHeader
impl Clone for AttributeHeader
Source§fn clone(&self) -> AttributeHeader
fn clone(&self) -> AttributeHeader
Returns a duplicate 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 AttributeHeader
impl Debug for AttributeHeader
Source§impl From<AttributeHeader> for [u8; 4]
impl From<AttributeHeader> for [u8; 4]
Source§fn from(f: AttributeHeader) -> Self
fn from(f: AttributeHeader) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AttributeHeader
impl PartialEq for AttributeHeader
Source§impl TryFrom<&[u8]> for AttributeHeader
impl TryFrom<&[u8]> for AttributeHeader
impl Copy for AttributeHeader
impl Eq for AttributeHeader
impl StructuralPartialEq for AttributeHeader
Auto Trait Implementations§
impl Freeze for AttributeHeader
impl RefUnwindSafe for AttributeHeader
impl Send for AttributeHeader
impl Sync for AttributeHeader
impl Unpin for AttributeHeader
impl UnwindSafe for AttributeHeader
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