Struct stun_codec::rfc5766::errors::UnsupportedTransportProtocol
source · pub struct UnsupportedTransportProtocol;
Expand description
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.
Implementations§
Trait Implementations§
source§impl Clone for UnsupportedTransportProtocol
impl Clone for UnsupportedTransportProtocol
source§fn clone(&self) -> UnsupportedTransportProtocol
fn clone(&self) -> UnsupportedTransportProtocol
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 UnsupportedTransportProtocol
impl Debug for UnsupportedTransportProtocol
source§impl From<UnsupportedTransportProtocol> for ErrorCode
impl From<UnsupportedTransportProtocol> for ErrorCode
source§fn from(_: UnsupportedTransportProtocol) -> Self
fn from(_: UnsupportedTransportProtocol) -> Self
Converts to this type from the input type.
source§impl Hash for UnsupportedTransportProtocol
impl Hash for UnsupportedTransportProtocol
source§impl PartialEq for UnsupportedTransportProtocol
impl PartialEq for UnsupportedTransportProtocol
source§fn eq(&self, other: &UnsupportedTransportProtocol) -> bool
fn eq(&self, other: &UnsupportedTransportProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnsupportedTransportProtocol
impl Eq for UnsupportedTransportProtocol
impl StructuralPartialEq for UnsupportedTransportProtocol
Auto Trait Implementations§
impl Freeze for UnsupportedTransportProtocol
impl RefUnwindSafe for UnsupportedTransportProtocol
impl Send for UnsupportedTransportProtocol
impl Sync for UnsupportedTransportProtocol
impl Unpin for UnsupportedTransportProtocol
impl UnwindSafe for UnsupportedTransportProtocol
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