Trait radn::rcore::InliningFactory
source · pub trait InliningFactory<'a, Ctx: Context<'a>>: FactoryBase<'a> + ParseMode<Mode = InliningMode> {
// Required methods
fn extension_error(&self, tail: &[u8]) -> Self::ParseError;
fn ideserialize<I: InCtx<'a, Ctx>>(
&self,
inctx: I
) -> IParseResult<'a, Self, I>;
}Expand description
Factory preserving the parser on success.
Required Methods§
sourcefn extension_error(&self, tail: &[u8]) -> Self::ParseError
fn extension_error(&self, tail: &[u8]) -> Self::ParseError
Always fail on extension, as parsing of an inlining object should be determined without reaching EOF.
sourcefn ideserialize<I: InCtx<'a, Ctx>>(&self, inctx: I) -> IParseResult<'a, Self, I>
fn ideserialize<I: InCtx<'a, Ctx>>(&self, inctx: I) -> IParseResult<'a, Self, I>
Inlining version of FactoryParse::deserialize. Preserves the parser.