pub struct TrustedDecoderInputs { /* private fields */ }Expand description
Explicit acceptance of a decoder’s current externally authored inputs. This is a trusted configuration revision, NOT source authentication. Later raw imports invalidate it. It cannot be manufactured from an index/token.
Implementations§
Source§impl TrustedDecoderInputs
impl TrustedDecoderInputs
pub fn source(&self) -> &Arc<SourceBundle>
pub fn matches(&self, decoder: &EntityDecoder<'_>) -> bool
Trait Implementations§
Source§impl Clone for TrustedDecoderInputs
impl Clone for TrustedDecoderInputs
Source§fn clone(&self) -> TrustedDecoderInputs
fn clone(&self) -> TrustedDecoderInputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TrustedDecoderInputs
impl RefUnwindSafe for TrustedDecoderInputs
impl Send for TrustedDecoderInputs
impl Sync for TrustedDecoderInputs
impl Unpin for TrustedDecoderInputs
impl UnwindSafe for TrustedDecoderInputs
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