Expand description
What a hook asks the engine to do, and the vocabulary it asks in.
Re-exportsยง
use std::time::Duration;๐use bytes::Bytes;๐use tokio_util::sync::CancellationToken;๐use crate::shape::StreamKey;๐
Structsยง
- Egress
Config - Engine-side knobs for action execution. Carried on the session config.
- Gate
- A cheap, clonable release handle the engine awaits.
- Interest
- What machinery a hook wants armed.
Enumsยง
- Action
- What the engine should do with the unit of traffic the hook was shown.
- Drop
Mode - How
Action::Dropremoves an object. - Stream
Action - What to do with a unidirectional stream.
- Stream
End - How a stream ended.