pub struct DispatchRuntime { /* private fields */ }Expand description
Provider + handler registry for one host instance.
Implementations§
Source§impl DispatchRuntime
impl DispatchRuntime
pub fn new( provider: Arc<ServiceProvider>, handler_cache: Arc<HandlerCache>, ) -> Self
pub fn provider(&self) -> &Arc<ServiceProvider> ⓘ
pub fn handler_cache(&self) -> &Arc<HandlerCache> ⓘ
Trait Implementations§
Source§impl Clone for DispatchRuntime
impl Clone for DispatchRuntime
Source§fn clone(&self) -> DispatchRuntime
fn clone(&self) -> DispatchRuntime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DispatchRuntime
impl !UnwindSafe for DispatchRuntime
impl Freeze for DispatchRuntime
impl Send for DispatchRuntime
impl Sync for DispatchRuntime
impl Unpin for DispatchRuntime
impl UnsafeUnpin for DispatchRuntime
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