pub trait TimestampXml: ReferenceXml {
// Required method
fn canonicalize<W: Work>(
&self,
snapshot: Snapshot<Self::Document, Self::Generation>,
node: Self::Id,
method: Self::Id,
receiver: &mut impl Receiver,
execution: &W,
) -> Result<(), Self::Error>;
}Expand description
XML-owned canonicalization and reference replay, using the actual source view.
Each call rejects foreign/stale identities at access and enforces both XML
policy and current Work. Method is the original CanonicalizationMethod node,
including parameters such as Exclusive C14N PrefixList; no second algorithm
dispatcher or fabricated parameter representation is introduced here.
Required Methods§
Sourcefn canonicalize<W: Work>(
&self,
snapshot: Snapshot<Self::Document, Self::Generation>,
node: Self::Id,
method: Self::Id,
receiver: &mut impl Receiver,
execution: &W,
) -> Result<(), Self::Error>
fn canonicalize<W: Work>( &self, snapshot: Snapshot<Self::Document, Self::Generation>, node: Self::Id, method: Self::Id, receiver: &mut impl Receiver, execution: &W, ) -> Result<(), Self::Error>
Streams the original element and its content under the timestamp method. Ancestor namespace/xml context and method parameters are owner obligations. Successful return means complete output; receiver refusal must stop work.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".