Skip to main content

Module event

Module event 

Source
Expand description

Proxy event types emitted by the inline parser.

Re-exportsΒ§

use std::net::SocketAddr; πŸ”’
use std::time::Duration; πŸ”’
use std::time::Instant; πŸ”’
use bytes::Bytes; πŸ”’
use moqtap_codec::dispatch::AnyControlMessage; πŸ”’
use moqtap_codec::dispatch::AnyDatagramHeader; πŸ”’
use moqtap_codec::dispatch::AnyFetchHeader; πŸ”’
use moqtap_codec::dispatch::AnyObjectHeader; πŸ”’
use moqtap_codec::dispatch::AnySubgroupHeader; πŸ”’
use moqtap_codec::version::DraftVersion; πŸ”’
use crate::capability::ActionKind; πŸ”’
use crate::capability::Refusal; πŸ”’
use crate::capability::Site; πŸ”’
use crate::shape::StreamKey; πŸ”’
use crate::types::Leg; πŸ”’
use crate::types::ObjectMeta; πŸ”’
pub use crate::types::ProxySide;

StructsΒ§

SessionId
Unique session identifier (monotonic counter assigned by the proxy).

EnumsΒ§

DataStreamHeaderKind
The kind of data stream header parsed from a unidirectional stream.
Effect
What an executed action actually did.
ImpairmentKind
A reduction in what the proxy can do or observe.
ProxyEvent
Events emitted by the proxy during stream forwarding.
ShapeOutcome
What ProxyEvent::Shaped reports the shaper did.

FunctionsΒ§

connection_of πŸ”’
The connection a direction of travel belongs to.
impairment_leg πŸ”’
The connection an ImpairmentKind is about, given the side the task that raised it was forwarding from.
other_connection πŸ”’
The proxy’s other connection. There are exactly two.