pub enum StunAgentError {
Discarded,
FingerPrintValidationFailed,
Ignored,
MaxOutstandingRequestsReached,
StunCheckFailed,
InternalError(String),
}Expand description
Describes the error that can occur during the STUN agent operation.
Variants§
Discarded
Indicates that the STUN agent has discarded the buffer
FingerPrintValidationFailed
Indicates that the STUN agent has received an invalid STUN packet
Ignored
Indicates that the STUN agent has ignored the operation
MaxOutstandingRequestsReached
Indicates that the STUN agent has reached the maximum number of outstanding requests
StunCheckFailed
Indicates that the STUN agent has received an invalid STUN packet
InternalError(String)
Indicates that the STUN agent has detected an internal error, and the String contains the error message
Trait Implementations§
source§impl Debug for StunAgentError
impl Debug for StunAgentError
source§impl PartialEq for StunAgentError
impl PartialEq for StunAgentError
impl Eq for StunAgentError
impl StructuralPartialEq for StunAgentError
Auto Trait Implementations§
impl Freeze for StunAgentError
impl RefUnwindSafe for StunAgentError
impl Send for StunAgentError
impl Sync for StunAgentError
impl Unpin for StunAgentError
impl UnwindSafe for StunAgentError
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