Skip to main content

SinkLaunchVisitor

Trait SinkLaunchVisitor 

Source
pub trait SinkLaunchVisitor {
    type Output;

    // Required method
    fn visit<L: SinkLaunch>(self, prepared: Result<L, Refusal>) -> Self::Output;
}
Expand description

What a kernel named by a value rather than a type is handed to, once prepared for a sink: each value prepares a launch of its own type, so what receives it takes any SinkLaunch.

Required Associated Types§

Required Methods§

Source

fn visit<L: SinkLaunch>(self, prepared: Result<L, Refusal>) -> Self::Output

Receive the launch the value named, or why it could not be prepared.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§