pub struct FieldsSource<'d> { /* private fields */ }Expand description
Original schema-selected CONTENTS with their producing field depth. This small borrowed context survives a counter-walk frame’s parsed model and is also shared by CMS certificate/revocation field readers.
Implementations§
Source§impl<'d> FieldsSource<'d>
impl<'d> FieldsSource<'d>
Sourcepub fn reader_in<'operation, W: Work>(
&self,
work: &'operation W,
) -> Result<ScopedReader<'d, 'operation>>where
'd: 'operation,
pub fn reader_in<'operation, W: Work>(
&self,
work: &'operation W,
) -> Result<ScopedReader<'d, 'operation>>where
'd: 'operation,
Opens original fields, not a fabricated outer SEQUENCE. All current operation and original session/depth ceilings apply before decoding.
Sourcepub fn query_in<'query>(
&self,
operation: &Reader<'query>,
) -> Result<Reader<'query>>where
'd: 'query,
pub fn query_in<'query>(
&self,
operation: &Reader<'query>,
) -> Result<Reader<'query>>where
'd: 'query,
Opens a producing-reader query for models retaining original source readers. Unlike a callback-local Work borrow, the query’s source budget already has the document lifetime. Current operation funding and the actual original depth/session remain enforced by the SAME bridge.
Trait Implementations§
Source§impl<'d> Clone for FieldsSource<'d>
impl<'d> Clone for FieldsSource<'d>
impl<'d> Copy for FieldsSource<'d>
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for FieldsSource<'d>
impl<'d> !Send for FieldsSource<'d>
impl<'d> !Sync for FieldsSource<'d>
impl<'d> !UnwindSafe for FieldsSource<'d>
impl<'d> Freeze for FieldsSource<'d>
impl<'d> Unpin for FieldsSource<'d>
impl<'d> UnsafeUnpin for FieldsSource<'d>
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