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<'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<'_, Option<T>> for Option<T>

source§

fn process_decoded(self, _tcx: TyCtxt<'_>, _err: impl Fn() -> !) -> Option<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§