Struct stun_codec::rfc5389::errors::UnknownAttribute[][src]

pub struct UnknownAttribute;

420: "Unknown Attribute".

The server received a STUN packet containing a comprehension-required attribute that it did not understand. The server MUST put this unknown attribute in the UNKNOWN- ATTRIBUTE attribute of its error response.

RFC 5389 -- 15.6 ERROR-CODE

Implementations

impl UnknownAttribute[src]

pub const CODEPOINT: u16[src]

The codepoint of the error.

Trait Implementations

impl Clone for UnknownAttribute[src]

impl Copy for UnknownAttribute[src]

impl Debug for UnknownAttribute[src]

impl Eq for UnknownAttribute[src]

impl From<UnknownAttribute> for ErrorCode[src]

impl Hash for UnknownAttribute[src]

impl PartialEq<UnknownAttribute> for UnknownAttribute[src]

impl StructuralEq for UnknownAttribute[src]

impl StructuralPartialEq for UnknownAttribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.