pub struct MeshForwardingRoute { /* private fields */ }Expand description
Marks exactly one Hashtree mesh-forwarding decision.
Transport routes remain opaque and preserve the request they carry. Local and terminal routes must not use this adapter. An exhausted request is a route-local miss, so the outer search may still try other authorities.
Implementations§
Trait Implementations§
Source§impl BlobRoute for MeshForwardingRoute
impl BlobRoute for MeshForwardingRoute
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 !RefUnwindSafe for MeshForwardingRoute
impl !UnwindSafe for MeshForwardingRoute
impl Freeze for MeshForwardingRoute
impl Send for MeshForwardingRoute
impl Sync for MeshForwardingRoute
impl Unpin for MeshForwardingRoute
impl UnsafeUnpin for MeshForwardingRoute
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