Struct stun_types::attribute::AttributeHeader
source · 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 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 AttributeHeader
impl Debug for AttributeHeader
source§impl From<AttributeHeader> for Vec<u8>
impl From<AttributeHeader> for Vec<u8>
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§fn eq(&self, other: &AttributeHeader) -> bool
fn eq(&self, other: &AttributeHeader) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)