Struct stun_types::attribute::Realm
source · pub struct Realm { /* private fields */ }Expand description
The Realm Attribute
Implementations§
Trait Implementations§
source§impl From<Realm> for RawAttribute
impl From<Realm> for RawAttribute
source§fn from(value: Realm) -> RawAttribute
fn from(value: Realm) -> RawAttribute
Converts to this type from the input type.
source§impl PartialEq for Realm
impl PartialEq for Realm
source§impl TryFrom<&RawAttribute> for Realm
impl TryFrom<&RawAttribute> for Realm
§type Error = StunParseError
type Error = StunParseError
The type returned in the event of a conversion error.
impl Eq for Realm
impl StructuralPartialEq for Realm
Auto Trait Implementations§
impl Freeze for Realm
impl RefUnwindSafe for Realm
impl Send for Realm
impl Sync for Realm
impl Unpin for Realm
impl UnwindSafe for Realm
Blanket Implementations§
source§impl<E, T> AttributeFromRaw<E> for T
impl<E, T> AttributeFromRaw<E> for T
source§fn from_raw(raw: &RawAttribute) -> Result<T, E>
fn from_raw(raw: &RawAttribute) -> Result<T, E>
Convert an
Attribute from a RawAttributesource§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