Trait radn::atomic::InliningAtomic
source · pub trait InliningAtomic: AtomicBase + ParseMode<Mode = InliningMode> {
// Required methods
fn a_extension_error(tail: &[u8]) -> Self::AParseError;
fn a_ideserialize<I: Stream>(strean: I) -> AIParseResult<Self, I>;
}Expand description
Atomic analogue of InliningFactory/InliningObject.
Required Methods§
sourcefn a_extension_error(tail: &[u8]) -> Self::AParseError
fn a_extension_error(tail: &[u8]) -> Self::AParseError
Always fail on extension, as parsing of an inlining atomic should be determined without reaching EOF.
sourcefn a_ideserialize<I: Stream>(strean: I) -> AIParseResult<Self, I>
fn a_ideserialize<I: Stream>(strean: I) -> AIParseResult<Self, I>
Inlining version of Atomic::a_deserialize. Preserves the parser.