pub trait HookOutput: SealedOutput { }Expand description
What a hook returns (sealed): (), or Result<(), E> for any E: Into<BoxError>.
An Err fails the invocation with that error; the callbacks after it do not run. An
InterruptError, such as the one the events’ interrupt returns, is not a failure: it stops
the agent for human input once every callback has run.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".