pub trait Atomic: AtomicModeParse {
// Required methods
fn a_deserialize(stream: impl Stream) -> AParseResult<Self>;
fn a_extend(self, tail: &[u8]) -> AParseResult<Self>;
}Expand description
This trait combines functionality of Mentionable and Factory,
while limiting MentionableTop::points_typed (and corresponding MentionableTop::topology_hash)
to an empty sequence.
Required Methods§
sourcefn a_deserialize(stream: impl Stream) -> AParseResult<Self>
fn a_deserialize(stream: impl Stream) -> AParseResult<Self>
Static equivalent of FactoryParse::deserialize.
sourcefn a_extend(self, tail: &[u8]) -> AParseResult<Self>
fn a_extend(self, tail: &[u8]) -> AParseResult<Self>
Static equivalent of FactoryParse::extend.