#[non_exhaustive]pub enum StunEvent {
AgentClosed,
TransactionStopped,
TransactionTimeOut,
Message(Message),
}Expand description
What became of a STUN transaction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AgentClosed
The agent was closed, abandoning this transaction.
TransactionStopped
The transaction was stopped by the caller.
TransactionTimeOut
The transaction timed out with no response.
Message(Message)
A response arrived for this transaction.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StunEvent
impl RefUnwindSafe for StunEvent
impl Send for StunEvent
impl Sync for StunEvent
impl Unpin for StunEvent
impl UnsafeUnpin for StunEvent
impl UnwindSafe for StunEvent
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