Skip to main content

ProcessQueryValue

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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<'tcx, D: Decoder, T: Copy + Decodable<D>> ProcessQueryValue<'tcx, &'tcx [T]> for Option<DecodeIterator<T, D>>

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

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

Implementors§

Source§

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

Source§

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