pub struct NormalizedCacheExchange { /* private fields */ }Expand description
The normalized cache exchange. This will store normalized queries by unique ID.
Implementations§
Source§impl NormalizedCacheExchange
impl NormalizedCacheExchange
Sourcepub fn with_options(options: NormalizedCacheOptions) -> Self
pub fn with_options(options: NormalizedCacheOptions) -> Self
Create a new cache exchange with extra options.
Trait Implementations§
Source§impl Default for NormalizedCacheExchange
impl Default for NormalizedCacheExchange
Source§fn default() -> NormalizedCacheExchange
fn default() -> NormalizedCacheExchange
Returns the “default value” for a type. Read more
Source§impl<TNext: Exchange> ExchangeFactory<TNext> for NormalizedCacheExchange
impl<TNext: Exchange> ExchangeFactory<TNext> for NormalizedCacheExchange
type Output = NormalizedCacheImpl<TNext>
Source§fn build(self, next: TNext) -> NormalizedCacheImpl<TNext>
fn build(self, next: TNext) -> NormalizedCacheImpl<TNext>
Build the exchange using the provided
next exchange. If a query isn’t handled
it should be delegated to this exchange.Auto Trait Implementations§
impl Freeze for NormalizedCacheExchange
impl RefUnwindSafe for NormalizedCacheExchange
impl Send for NormalizedCacheExchange
impl Sync for NormalizedCacheExchange
impl Unpin for NormalizedCacheExchange
impl UnwindSafe for NormalizedCacheExchange
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