pub enum ProviderResponse<Res> {
Found(Res),
NotFound,
}Expand description
Responses sent by the cache provider
Variants§
Found(Res)
The cache provider found a similar request
NotFound
The cache provider did not find a similar request
Trait Implementations§
Auto Trait Implementations§
impl<Res> Freeze for ProviderResponse<Res>where
Res: Freeze,
impl<Res> RefUnwindSafe for ProviderResponse<Res>where
Res: RefUnwindSafe,
impl<Res> Send for ProviderResponse<Res>where
Res: Send,
impl<Res> Sync for ProviderResponse<Res>where
Res: Sync,
impl<Res> Unpin for ProviderResponse<Res>where
Res: Unpin,
impl<Res> UnwindSafe for ProviderResponse<Res>where
Res: UnwindSafe,
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