Struct stun_codec::rfc5766::errors::UnsupportedTransportProtocol[][src]

pub struct UnsupportedTransportProtocol;

442: "Unsupported Transport Protocol".

The Allocate request asked the server to use a transport protocol between the server and the peer that the server does not support. NOTE: This does NOT refer to the transport protocol used in the 5-tuple.

RFC 5766 -- 15. New STUN Error Response Codes

Implementations

impl UnsupportedTransportProtocol[src]

pub const CODEPOINT: u16[src]

The codepoint of the error.

Trait Implementations

impl Clone for UnsupportedTransportProtocol[src]

impl Copy for UnsupportedTransportProtocol[src]

impl Debug for UnsupportedTransportProtocol[src]

impl Eq for UnsupportedTransportProtocol[src]

impl From<UnsupportedTransportProtocol> for ErrorCode[src]

impl Hash for UnsupportedTransportProtocol[src]

impl PartialEq<UnsupportedTransportProtocol> for UnsupportedTransportProtocol[src]

impl StructuralEq for UnsupportedTransportProtocol[src]

impl StructuralPartialEq for UnsupportedTransportProtocol[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.