pub trait FlawlessRule {
// Required method
fn flawless_process(&self, block: &mut Block, context: &Context<'_, '_, '_>);
}
Expand description
A trait for rules that are guaranteed to succeed without errors.
Rules implementing this trait can be automatically converted to the Rule
trait
with error handling.
Required Methods§
Sourcefn flawless_process(&self, block: &mut Block, context: &Context<'_, '_, '_>)
fn flawless_process(&self, block: &mut Block, context: &Context<'_, '_, '_>)
Processes the block without the possibility of failure.