pub struct CacheGetResponse<ReqBody, Key> {
pub req: Request<ReqBody>,
pub result: CacheGetResponseResult<Key>,
}Expand description
Struct returned by a CacheProvider’s first cache-lookup Service
Fields§
§req: Request<ReqBody>The original request passed on so that it can be processed by the inner service
result: CacheGetResponseResult<Key>Trait Implementations§
Auto Trait Implementations§
impl<ReqBody, Key> !Freeze for CacheGetResponse<ReqBody, Key>
impl<ReqBody, Key> !RefUnwindSafe for CacheGetResponse<ReqBody, Key>
impl<ReqBody, Key> Send for CacheGetResponse<ReqBody, Key>
impl<ReqBody, Key> Sync for CacheGetResponse<ReqBody, Key>
impl<ReqBody, Key> Unpin for CacheGetResponse<ReqBody, Key>
impl<ReqBody, Key> !UnwindSafe for CacheGetResponse<ReqBody, Key>
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