[][src]Trait join_impl::join::Join

pub trait Join {
    type Chain: Chain;
    type Handler;
    fn get_futures_crate_path(&self) -> Option<&Path>;
fn get_branches(&self) -> &[Self::Chain];
fn get_handler(&self) -> Option<&Self::Handler>;
fn get_joiner(&self) -> Option<&TokenStream>;
fn get_transpose_results_option(&self) -> Option<bool>;
fn get_lazy_branches_option(&self) -> Option<bool>; }

Result of parsing join! macro input in trait form.

Associated Types

type Chain: Chain

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

type Handler

Optional join! macro handler.

Loading content...

Required methods

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

Returns custom futures_crate_path taken from macro input if exists.

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

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

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

Returns Handler if exists.

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

Returns custom joiner if exists.

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

Returns transpose results configuration if specified.

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

Loading content...

Implementors

Loading content...