Enum stun::agent::ClientAgent[][src]

pub enum ClientAgent {
    Process(Message),
    Collect(Instant),
    Start(TransactionIdInstant),
    Stop(TransactionId),
    Close,
}
Expand description

ClientAgent is Agent implementation that is used by Client to process transactions.

Variants

Process(Message)

Tuple Fields of Process

0: Message
Collect(Instant)

Tuple Fields of Collect

0: Instant

Tuple Fields of Start

0: TransactionId1: Instant

Tuple Fields of Stop

0: TransactionId
Close

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.