pub struct StoreBlobRoute<S: Store + ?Sized> { /* private fields */ }Expand description
A terminal route that performs exactly one lookup and does not interpret HTL.
Implementations§
Trait Implementations§
Source§impl<S: Store + ?Sized + 'static> BlobRoute for StoreBlobRoute<S>
impl<S: Store + ?Sized + 'static> BlobRoute for StoreBlobRoute<S>
fn route<'life0, 'async_trait>(
&'life0 self,
request: BlobRequest,
) -> Pin<Box<dyn Future<Output = Result<BlobReply, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn route_with_context<'life0, 'async_trait>(
&'life0 self,
request: BlobRequest,
_context: BlobRouteContext,
) -> Pin<Box<dyn Future<Output = Result<BlobReply, StoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<S> Freeze for StoreBlobRoute<S>where
S: ?Sized,
impl<S> RefUnwindSafe for StoreBlobRoute<S>where
S: RefUnwindSafe + ?Sized,
impl<S> Send for StoreBlobRoute<S>where
S: ?Sized,
impl<S> Sync for StoreBlobRoute<S>where
S: ?Sized,
impl<S> Unpin for StoreBlobRoute<S>where
S: ?Sized,
impl<S> UnsafeUnpin for StoreBlobRoute<S>where
S: ?Sized,
impl<S> UnwindSafe for StoreBlobRoute<S>where
S: RefUnwindSafe + ?Sized,
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