Skip to main content

Module action

Module action 

Source
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ยง

EgressConfig
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.
DropMode
How Action::Drop removes an object.
StreamAction
What to do with a unidirectional stream.
StreamEnd
How a stream ended.