Struct stun_codec::rfc5766::errors::AllocationMismatch
source · pub struct AllocationMismatch;
Expand description
437
: “Allocation Mismatch”.
A request was received by the server that requires an allocation to be in place, but no allocation exists, or a request was received that requires no allocation, but an allocation exists.
Implementations§
Trait Implementations§
source§impl Clone for AllocationMismatch
impl Clone for AllocationMismatch
source§fn clone(&self) -> AllocationMismatch
fn clone(&self) -> AllocationMismatch
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 AllocationMismatch
impl Debug for AllocationMismatch
source§impl From<AllocationMismatch> for ErrorCode
impl From<AllocationMismatch> for ErrorCode
source§fn from(_: AllocationMismatch) -> Self
fn from(_: AllocationMismatch) -> Self
Converts to this type from the input type.
source§impl Hash for AllocationMismatch
impl Hash for AllocationMismatch
source§impl PartialEq for AllocationMismatch
impl PartialEq for AllocationMismatch
source§fn eq(&self, other: &AllocationMismatch) -> bool
fn eq(&self, other: &AllocationMismatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AllocationMismatch
impl Eq for AllocationMismatch
impl StructuralPartialEq for AllocationMismatch
Auto Trait Implementations§
impl Freeze for AllocationMismatch
impl RefUnwindSafe for AllocationMismatch
impl Send for AllocationMismatch
impl Sync for AllocationMismatch
impl Unpin for AllocationMismatch
impl UnwindSafe for AllocationMismatch
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