pub struct Dispatcher { /* private fields */ }Available on crate feature
virt only.Trait Implementations§
Source§impl Debug for Dispatcher
impl Debug for Dispatcher
Source§impl Default for Dispatcher
impl Default for Dispatcher
Source§fn default() -> Dispatcher
fn default() -> Dispatcher
Returns the “default value” for a type. Read more
Source§impl ExtensionDispatch for Dispatcher
impl ExtensionDispatch for Dispatcher
Source§type BackendId = BackendIds
type BackendId = BackendIds
The ID type for the custom backends used by this dispatch implementation.
Source§type Context = StagingContext
type Context = StagingContext
The context type used by this dispatch.
Source§type ExtensionId = ExtensionIds
type ExtensionId = ExtensionIds
The ID type for the extensions supported by this dispatch implementation.
Source§fn core_request<P: Platform>(
&mut self,
_backend: &Self::BackendId,
ctx: &mut Context<Self::Context>,
request: &Request,
resources: &mut ServiceResources<P>,
) -> Result<Reply, Error>
fn core_request<P: Platform>( &mut self, _backend: &Self::BackendId, ctx: &mut Context<Self::Context>, request: &Request, resources: &mut ServiceResources<P>, ) -> Result<Reply, Error>
Executes a request using a backend or returns
Error::RequestNotAvailable if it is not
supported by the backend.Source§fn extension_request<P: Platform>(
&mut self,
_backend: &Self::BackendId,
extension: &Self::ExtensionId,
ctx: &mut Context<Self::Context>,
request: &SerdeExtension,
resources: &mut ServiceResources<P>,
) -> Result<SerdeExtension, Error>
fn extension_request<P: Platform>( &mut self, _backend: &Self::BackendId, extension: &Self::ExtensionId, ctx: &mut Context<Self::Context>, request: &SerdeExtension, resources: &mut ServiceResources<P>, ) -> Result<SerdeExtension, Error>
Executes an extension request using a backend or returns
Error::RequestNotAvailable
if it is not supported by the backend.Source§impl ExtensionId<ChunkedExtension> for Dispatcher
Available on crate feature chunked only.
impl ExtensionId<ChunkedExtension> for Dispatcher
Available on crate feature
chunked only.Source§const ID: ExtensionIds = ExtensionIds::Chunked
const ID: ExtensionIds = ExtensionIds::Chunked
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Source§impl ExtensionId<FsInfoExtension> for Dispatcher
Available on crate feature fs-info only.
impl ExtensionId<FsInfoExtension> for Dispatcher
Available on crate feature
fs-info only.Source§const ID: ExtensionIds = ExtensionIds::FsInfo
const ID: ExtensionIds = ExtensionIds::FsInfo
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Source§impl ExtensionId<HkdfExtension> for Dispatcher
Available on crate feature hkdf only.
impl ExtensionId<HkdfExtension> for Dispatcher
Available on crate feature
hkdf only.Source§const ID: ExtensionIds = ExtensionIds::Hkdf
const ID: ExtensionIds = ExtensionIds::Hkdf
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Source§impl ExtensionId<HpkeExtension> for Dispatcher
Available on crate feature hpke only.
impl ExtensionId<HpkeExtension> for Dispatcher
Available on crate feature
hpke only.Source§const ID: ExtensionIds = ExtensionIds::Hpke
const ID: ExtensionIds = ExtensionIds::Hpke
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Source§impl ExtensionId<ManageExtension> for Dispatcher
Available on crate feature manage only.
impl ExtensionId<ManageExtension> for Dispatcher
Available on crate feature
manage only.Source§const ID: ExtensionIds = ExtensionIds::Manage
const ID: ExtensionIds = ExtensionIds::Manage
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Source§impl ExtensionId<WrapKeyToFileExtension> for Dispatcher
Available on crate feature wrap-key-to-file only.
impl ExtensionId<WrapKeyToFileExtension> for Dispatcher
Available on crate feature
wrap-key-to-file only.Source§const ID: ExtensionIds = ExtensionIds::WrapKeyToFile
const ID: ExtensionIds = ExtensionIds::WrapKeyToFile
The ID assigned to the
E extension.Source§type Id = ExtensionIds
type Id = ExtensionIds
The ID type used by the runner.
Auto Trait Implementations§
impl Freeze for Dispatcher
impl RefUnwindSafe for Dispatcher
impl Send for Dispatcher
impl Sync for Dispatcher
impl Unpin for Dispatcher
impl UnsafeUnpin for Dispatcher
impl UnwindSafe for Dispatcher
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> Dispatch for Twhere
T: ExtensionDispatch,
impl<T> Dispatch for Twhere
T: ExtensionDispatch,
Source§type BackendId = <T as ExtensionDispatch>::BackendId
type BackendId = <T as ExtensionDispatch>::BackendId
The ID type for the custom backends used by this dispatch implementation.
Source§type Context = <T as ExtensionDispatch>::Context
type Context = <T as ExtensionDispatch>::Context
The context type used by this dispatch.
Source§fn request<P>(
&mut self,
backend: &<T as Dispatch>::BackendId,
ctx: &mut Context<<T as Dispatch>::Context>,
request: &Request,
resources: &mut ServiceResources<P>,
) -> Result<Reply, Error>where
P: Platform,
fn request<P>(
&mut self,
backend: &<T as Dispatch>::BackendId,
ctx: &mut Context<<T as Dispatch>::Context>,
request: &Request,
resources: &mut ServiceResources<P>,
) -> Result<Reply, Error>where
P: Platform,
Executes a request using a backend or returns
Error::RequestNotAvailable if it is not
supported by the backend.