pub struct Processed<'a, L: Json, C> { /* private fields */ }
Expand description
Processed context referencing its original unprocessed local context.
This is usefull for instance to attach a processed context to its original JSON form, which is then used by the compaction algorithm to put the context in the compacted document.
Implementations
Wraps a processed context along with a reference to its original local representation.
Wraps a processed context along with a reference to its original local representation and warnings emitted during processing.
Returns a reference to the warnings emitted during processing.
Consumes the wrapper and returns the processed context.
Clone the referenced local context and return
a Processed
context that owns the original local context.
Trait Implementations
Converts this value into a K
JSON value using the given
meta
function to convert J::MetaData
into K::MetaData
. Read more
Auto Trait Implementations
impl<'a, L, C> RefUnwindSafe for Processed<'a, L, C> where
C: RefUnwindSafe,
L: RefUnwindSafe,
<L as Json>::MetaData: RefUnwindSafe,
impl<'a, L, C> UnwindSafe for Processed<'a, L, C> where
C: UnwindSafe,
L: RefUnwindSafe,
<L as Json>::MetaData: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more