pub enum StunTransactionError {
DoNotRetry,
InvalidFingerprint,
NotFound,
ProtectionViolated,
TimedOut,
}Expand description
Errors that can be raised by the STUN client when a transaction fails.
Variants§
DoNotRetry
The transaction has been canceled by the client.
InvalidFingerprint
Fingerprint validation failed.
NotFound
Outgoing transaction not found.
ProtectionViolated
The transaction has been canceled due to an integrity validation failure.
TimedOut
The transaction has timed out.
Trait Implementations§
Source§impl Debug for StunTransactionError
impl Debug for StunTransactionError
impl Eq for StunTransactionError
Source§impl PartialEq for StunTransactionError
impl PartialEq for StunTransactionError
Source§fn eq(&self, other: &StunTransactionError) -> bool
fn eq(&self, other: &StunTransactionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StunTransactionError
Auto Trait Implementations§
impl Freeze for StunTransactionError
impl RefUnwindSafe for StunTransactionError
impl Send for StunTransactionError
impl Sync for StunTransactionError
impl Unpin for StunTransactionError
impl UnsafeUnpin for StunTransactionError
impl UnwindSafe for StunTransactionError
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