Skip to main content

SinkResult

Trait SinkResult 

Source
pub trait SinkResult: 'static + Sealed {
    type WriteToken: 'static;

    const INFALLIBLE: bool;

    // Required method
    fn into_result(self) -> VortexResult<()>;
}
Expand description

The result of writing one row: success or an immediate error.

This trait is sealed. Row functions choose one of its supplied implementations.

Required Associated Constants§

Source

const INFALLIBLE: bool

Whether this return type is infallible.

Required Associated Types§

Source

type WriteToken: 'static

The OutputSink::WriteToken carried by a success.

Required Methods§

Source

fn into_result(self) -> VortexResult<()>

Convert this row’s outcome into immediate success or failure.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl SinkResult for ()

Source§

impl SinkResult for VortexResult<()>

Source§

impl SinkResult for VortexResult<InitializedElement>

Implementors§