JoinInput

Trait JoinInput 

Source
pub trait JoinInput {
    type Chain: Chain;
    type Handler;

    // Required methods
    fn futures_crate_path(&self) -> Option<&Path>;
    fn branches(&self) -> &[Self::Chain];
    fn handler(&self) -> Option<&Self::Handler>;
    fn joiner(&self) -> Option<&TokenStream>;
    fn transpose_results_option(&self) -> Option<bool>;
    fn lazy_branches_option(&self) -> Option<bool>;
}
Expand description

Result of parsing join! macro input in trait form.

Required Associated Types§

Source

type Chain: Chain

Object with implementation of Chain trait used to generate macro output.

Source

type Handler

Optional join! macro handler.

Required Methods§

Source

fn futures_crate_path(&self) -> Option<&Path>

Returns custom futures_crate_path taken from macro input if exists.

Source

fn branches(&self) -> &[Self::Chain]

Returns branches, each of branches is an object implemented Chain trait.

Source

fn handler(&self) -> Option<&Self::Handler>

Returns Handler if exists.

Source

fn joiner(&self) -> Option<&TokenStream>

Returns custom joiner if exists.

Source

fn transpose_results_option(&self) -> Option<bool>

Returns transpose results configuration if specified.

Source

fn lazy_branches_option(&self) -> Option<bool>

Returns lazy branches configuration if provided.

Implementors§