deadpool::managed

Type Alias HookResult

source
pub type HookResult<E> = Result<(), HookError<E>>;
Expand description

The result returned by hooks

Aliased Type§

enum HookResult<E> {
    Ok(()),
    Err(HookError<E>),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(HookError<E>)

Contains the error value