Skip to main content

action_kind

Function action_kind 

Source
fn action_kind(action: &Action) -> ActionKind
Expand description

The ActionKind a returned Action will be reported as.

Needed only on the datagram path, where the transport can reject an action the engine admitted and ActionFailed has to name it.

Exhaustive on purpose, with no catch-all: Action is #[non_exhaustive] only for other crates, so a variant added here stops this file compiling rather than being silently reported as Pass.