Enum stun_client::ErrorCode
source · pub enum ErrorCode {
TryAlternate(String),
BadRequest(String),
Unauthorized(String),
UnknownAttribute(String),
StaleNonce(String),
ServerError(String),
Unknown(String),
}
Expand description
An enum that defines the type of STUN error code.
Variants§
TryAlternate(String)
BadRequest(String)
UnknownAttribute(String)
StaleNonce(String)
ServerError(String)
Unknown(String)
Implementations§
Trait Implementations§
source§impl PartialEq<ErrorCode> for ErrorCode
impl PartialEq<ErrorCode> for ErrorCode
impl Eq for ErrorCode
impl StructuralEq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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