pub enum SerializeMultiPageBundled<'wr> {
Components(SerializeComponents<'wr>),
Head(SerializeMultiPageHead<'wr>),
}
Expand description
Serializer for a bundled multi-page document.
The two variants of this type expose the two-pass nature of the serialization process. On the
first pass, an implementation of Serialize::serialize
will be presented with the
Components
variant and proceed directly to describing the components of the document. On the
second pass, after enough information has been gathered to compute the contents of the DIRM
chunk, the implementation is presented with the Head
variant and must compress (a portion of)
the DIRM
data and pass it back to the serializer.
Variants§
Components(SerializeComponents<'wr>)
Head(SerializeMultiPageHead<'wr>)
Trait Implementations§
Auto Trait Implementations§
impl<'wr> !RefUnwindSafe for SerializeMultiPageBundled<'wr>
impl<'wr> !Send for SerializeMultiPageBundled<'wr>
impl<'wr> !Sync for SerializeMultiPageBundled<'wr>
impl<'wr> Unpin for SerializeMultiPageBundled<'wr>
impl<'wr> !UnwindSafe for SerializeMultiPageBundled<'wr>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more