Skip to main content

HookOutput

Trait HookOutput 

Source
pub trait HookOutput:
    Default
    + Send
    + 'static {
    type ChainValue: Clone + Send;

    // Provided methods
    fn is_terminal(&self) -> bool { ... }
    fn chain_value(&self) -> Option<Self::ChainValue> { ... }
    fn default_with_value(_value: Self::ChainValue) -> Self { ... }
}

Required Associated Types§

Provided Methods§

Source

fn is_terminal(&self) -> bool

Source

fn chain_value(&self) -> Option<Self::ChainValue>

Source

fn default_with_value(_value: Self::ChainValue) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl HookOutput for ()

Implementors§