Trait rustc_query_system::query::caches::QueryStorage[−][src]

pub trait QueryStorage: Default {
    type Value: Debug;
    type Stored: Clone;
    fn store_nocache(&self, value: Self::Value) -> Self::Stored;
}

Associated Types

type Value: Debug[src]

type Stored: Clone[src]

Loading content...

Required methods

fn store_nocache(&self, value: Self::Value) -> Self::Stored[src]

Store a value without putting it in the cache. This is meant to be used with cycle errors.

Loading content...

Implementors

impl<'tcx, K: Eq + Hash, V: Debug + 'tcx> QueryStorage for ArenaCache<'tcx, K, V>[src]

type Value = V

type Stored = &'tcx V

impl<K: Eq + Hash, V: Clone + Debug> QueryStorage for DefaultCache<K, V>[src]

type Value = V

type Stored = V

Loading content...