pub trait FactoryModeProxy<'a, Ctx: Context<'a>> {
    type F: FactoryBase<'a> + ParseMode;

    // Required methods
    fn pmdeserialize<I: InCtx<'a, Ctx>>(
        f: &Self::F,
        inctx: I
    ) -> ModeResultM<'a, Self::F, I>;
    fn pmextend(
        f: &Self::F,
        mentionable: ExtensionSourceM<'a, Self::F>,
        tail: &[u8]
    ) -> ExtensionResultM<'a, Self::F>;
}
Expand description

External implementation of FactoryModeParse.

Required Associated Types§

Required Methods§

source

fn pmdeserialize<I: InCtx<'a, Ctx>>( f: &Self::F, inctx: I ) -> ModeResultM<'a, Self::F, I>

External implementation of FactoryModeParse::mdeserialize.

source

fn pmextend( f: &Self::F, mentionable: ExtensionSourceM<'a, Self::F>, tail: &[u8] ) -> ExtensionResultM<'a, Self::F>

External implementation of FactoryModeParse::mextend.

Implementors§

source§

impl<'a, Ctx: Context<'a>, F: CInliningFactory<'a, Ctx>> FactoryModeProxy<'a, Ctx> for WithMode<F, InliningMode>

§

type F = F

source§

impl<'a, Ctx: Context<'a>, F: CRegularFactory<'a, Ctx>> FactoryModeProxy<'a, Ctx> for WithMode<F, RegularMode>

§

type F = F