pub enum Event {
Show 13 variants
NormalRecv,
PaddingRecv,
TunnelRecv,
NormalSent,
PaddingSent,
TunnelSent,
BlockingBegin,
BlockingEnd,
LimitReached,
CounterZero,
TimerBegin,
TimerEnd,
Signal,
}
Expand description
An Event may trigger a State
transition.
Variants§
NormalRecv
NormalRecv is when we received a normal, non-padding packet.
PaddingRecv
PaddingRecv is when we received a padding packet.
TunnelRecv
TunnelRecv is when we received a packet in the tunnel: because it is encrypted, we do not know if it is a normal or padding packet yet.
NormalSent
NormalSent is when we sent a normal, non-padding packet.
PaddingSent
PaddingSent is when we sent a padding packet.
TunnelSent
TunnelSent is when we sent a packet in the tunnel: because it is now encrypted, we do not know if it is a normal or padding packet anymore.
BlockingBegin
BlockingBegin is when blocking started.
BlockingEnd
BlockingEnd is when blocking ended.
LimitReached
LimitReached is when a limit in a state is reached (internal).
CounterZero
CounterZero is when a machine’s counter was decremented to zero.
TimerBegin
TimerBegin is when a machine’s timer started.
TimerEnd
TimerEnd is when a machine’s timer expired.
Signal
Signal is when a machine transitioned to STATE_SIGNAL
.