Struct stun_codec::rfc5389::errors::BadRequest
source · pub struct BadRequest;
Expand description
400
: “Bad Request”.
The request was malformed. The client SHOULD NOT retry the request without modification from the previous attempt. The server may not be able to generate a valid MESSAGE-INTEGRITY for this error, so the client MUST NOT expect a valid MESSAGE-INTEGRITY attribute on this response.
Implementations§
Trait Implementations§
source§impl Clone for BadRequest
impl Clone for BadRequest
source§fn clone(&self) -> BadRequest
fn clone(&self) -> BadRequest
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 BadRequest
impl Debug for BadRequest
source§impl From<BadRequest> for ErrorCode
impl From<BadRequest> for ErrorCode
source§fn from(_: BadRequest) -> Self
fn from(_: BadRequest) -> Self
Converts to this type from the input type.
source§impl Hash for BadRequest
impl Hash for BadRequest
source§impl PartialEq for BadRequest
impl PartialEq for BadRequest
source§fn eq(&self, other: &BadRequest) -> bool
fn eq(&self, other: &BadRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BadRequest
impl Eq for BadRequest
impl StructuralPartialEq for BadRequest
Auto Trait Implementations§
impl Freeze for BadRequest
impl RefUnwindSafe for BadRequest
impl Send for BadRequest
impl Sync for BadRequest
impl Unpin for BadRequest
impl UnwindSafe for BadRequest
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