Struct groupcache::GroupcacheInner
source · pub struct GroupcacheInner<Value: ValueBounds> { /* private fields */ }
Expand description
Core implementation of groupcache API.
Trait Implementations§
source§impl<Value: ValueBounds> Groupcache for GroupcacheInner<Value>
impl<Value: ValueBounds> Groupcache for GroupcacheInner<Value>
fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<GetResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove<'life0, 'async_trait>(
&'life0 self,
request: Request<RemoveRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RemoveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<Value> !RefUnwindSafe for GroupcacheInner<Value>
impl<Value> Send for GroupcacheInner<Value>
impl<Value> Sync for GroupcacheInner<Value>
impl<Value> Unpin for GroupcacheInner<Value>where
Value: Unpin,
impl<Value> !UnwindSafe for GroupcacheInner<Value>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request