pub type BoxReadFuture = Pin<Box<dyn Future<Output = Result<JsonObject, DispatchError>> + Send>>;Expand description
The future a ResourceHandler or PromptHandler returns.
Fallsible where BoxFuture is not, because a read is allowed to fail for
a reason the peer should see as a refusal: a resource whose backing store
is unreachable is not an empty resource.
Aliased Typeยง
#[repr(transparent)]pub struct BoxReadFuture { /* private fields */ }