restrict FactoryParse
This commit is contained in:
parent
db41cd220f
commit
a2cba66a29
@ -111,7 +111,7 @@ pub trait FactoryBase<'a, Ctx: Context<'a>>: 'a + Send + Sync + Clone {
|
|||||||
type ParseError: 'a + Error;
|
type ParseError: 'a + Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait FactoryParse<'a, Ctx: Context<'a>>: FactoryBase<'a, Ctx> {
|
pub trait FactoryParse<'a, Ctx: Context<'a>>: FactoryModeParse<'a, Ctx> {
|
||||||
/// See [`Deserializer`], [`Resolver`].
|
/// See [`Deserializer`], [`Resolver`].
|
||||||
fn deserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Ctx, Self>;
|
fn deserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Ctx, Self>;
|
||||||
/// Called by finite stream parsers if there's any data left.
|
/// Called by finite stream parsers if there's any data left.
|
||||||
|
Loading…
Reference in New Issue
Block a user