Struct stun_codec::rfc5766::attributes::Lifetime
source · pub struct Lifetime(/* private fields */);
Expand description
LIFETIME
attribute.
See RFC 5766 – 14.2. LIFETIME about this attribute.
Implementations§
source§impl Lifetime
impl Lifetime
Trait Implementations§
source§impl Attribute for Lifetime
impl Attribute for Lifetime
§type Decoder = LifetimeDecoder
type Decoder = LifetimeDecoder
The decoder of the value part of the attribute.
§type Encoder = LifetimeEncoder
type Encoder = LifetimeEncoder
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 PartialEq for Lifetime
impl PartialEq for Lifetime
impl Eq for Lifetime
impl StructuralPartialEq for Lifetime
Auto Trait Implementations§
impl Freeze for Lifetime
impl RefUnwindSafe for Lifetime
impl Send for Lifetime
impl Sync for Lifetime
impl Unpin for Lifetime
impl UnwindSafe for Lifetime
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