pub struct View<'source, N, D, G> { /* private fields */ }Expand description
Callback-local parsed set. All known values have been decoded and parsed before the visitor runs; source and parsed arrays have identical index order. Open formats are not silently counted as usable X.509/status material.
Implementations§
Source§impl<'source, N, D, G> View<'source, N, D, G>
impl<'source, N, D, G> View<'source, N, D, G>
Sourcepub fn sources(&self) -> &'source [Retained<N, D, G>]
pub fn sources(&self) -> &'source [Retained<N, D, G>]
Frozen original sources backing every parsed value.
Sourcepub fn values(&self) -> &'source [Located<Value<'source>, N, D, G>]
pub fn values(&self) -> &'source [Located<Value<'source>, N, D, G>]
Parsed known values, without authentication or status promotion.
Sourcepub fn opaque(&self) -> &'source [Opaque<N, D, G>]
pub fn opaque(&self) -> &'source [Opaque<N, D, G>]
Original schema-open formats requiring explicit recognition if needed.
Sourcepub fn basic_responses(&self) -> &'source [Basic<'source, N, D, G>]
pub fn basic_responses(&self) -> &'source [Basic<'source, N, D, G>]
Every known basic-response payload, decoded once under the same current
operation. Unknown types and protocol failures remain in values();
they are never silently promoted to signed basic responses.
Auto Trait Implementations§
impl<'source, N, D, G> !RefUnwindSafe for View<'source, N, D, G>
impl<'source, N, D, G> !Send for View<'source, N, D, G>
impl<'source, N, D, G> !Sync for View<'source, N, D, G>
impl<'source, N, D, G> !UnwindSafe for View<'source, N, D, G>
impl<'source, N, D, G> Forget for View<'source, N, D, G>
impl<'source, N, D, G> Freeze for View<'source, N, D, G>
impl<'source, N, D, G> Unpin for View<'source, N, D, G>
impl<'source, N, D, G> UnsafeUnpin for View<'source, N, D, G>where
Snapshot<D, G>: UnsafeUnpin,
N: UnsafeUnpin,
&'source [Retained<N, D, G>]: UnsafeUnpin,
&'source [Located<Value<'source>, N, D, G>]: UnsafeUnpin,
&'source [Opaque<N, D, G>]: UnsafeUnpin,
&'source [Basic<'source, N, D, G>]: UnsafeUnpin,
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