rustc_metadata::rmeta::decoder::cstore_impl

Trait ProcessQueryValue

source
trait ProcessQueryValue<'tcx, T> {
    // Required method
    fn process_decoded(self, _tcx: TyCtxt<'tcx>, _err: impl Fn() -> !) -> T;
}

Required Methods§

source

fn process_decoded(self, _tcx: TyCtxt<'tcx>, _err: impl Fn() -> !) -> T

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ProcessQueryValue<'_, Option<DeprecationEntry>> for Option<Deprecation>

source§

fn process_decoded( self, _tcx: TyCtxt<'_>, _err: impl Fn() -> !, ) -> Option<DeprecationEntry>

source§

impl<'a, 'tcx, T: Copy + Decodable<DecodeContext<'a, 'tcx>>> ProcessQueryValue<'tcx, &'tcx [T]> for Option<DecodeIterator<'a, 'tcx, T>>

source§

fn process_decoded(self, tcx: TyCtxt<'tcx>, err: impl Fn() -> !) -> &'tcx [T]

source§

impl<'a, 'tcx, T: Copy + Decodable<DecodeContext<'a, 'tcx>>> ProcessQueryValue<'tcx, Option<&'tcx [T]>> for Option<DecodeIterator<'a, 'tcx, T>>

source§

fn process_decoded( self, tcx: TyCtxt<'tcx>, _err: impl Fn() -> !, ) -> Option<&'tcx [T]>

source§

impl<'a, 'tcx, T: Copy + Decodable<DecodeContext<'a, 'tcx>>> ProcessQueryValue<'tcx, EarlyBinder<TyCtxt<'tcx>, &'tcx [T]>> for Option<DecodeIterator<'a, 'tcx, T>>

source§

fn process_decoded( self, tcx: TyCtxt<'tcx>, err: impl Fn() -> !, ) -> EarlyBinder<'tcx, &'tcx [T]>

source§

impl<'tcx, T: ArenaAllocatable<'tcx>> ProcessQueryValue<'tcx, &'tcx T> for Option<T>

source§

fn process_decoded(self, tcx: TyCtxt<'tcx>, err: impl Fn() -> !) -> &'tcx T

source§

impl<T> ProcessQueryValue<'_, T> for Option<T>

source§

fn process_decoded(self, _tcx: TyCtxt<'_>, err: impl Fn() -> !) -> T

source§

impl<T, E> ProcessQueryValue<'_, Result<Option<T>, E>> for Option<T>

source§

fn process_decoded( self, _tcx: TyCtxt<'_>, _err: impl Fn() -> !, ) -> Result<Option<T>, E>

Implementors§

source§

impl<'tcx, T> ProcessQueryValue<'tcx, EarlyBinder<TyCtxt<'tcx>, T>> for T

source§

impl<T> ProcessQueryValue<'_, T> for T