pub struct BoxedDispatch {
pub req_type_id: TypeId,
pub dispatch: BoxedDispatchFn,
}Expand description
Inventory item tying a request type to its type-erased dispatch function.
Fields§
§req_type_id: TypeIdThe request type’s TypeId.
dispatch: BoxedDispatchFnDispatch for that request type.
Trait Implementations§
impl Collect for BoxedDispatch
Auto Trait Implementations§
impl Forget for BoxedDispatch
impl Freeze for BoxedDispatch
impl Move for BoxedDispatch
impl RefUnwindSafe for BoxedDispatch
impl Send for BoxedDispatch
impl Sync for BoxedDispatch
impl Unpin for BoxedDispatch
impl UnsafeUnpin for BoxedDispatch
impl UnwindSafe for BoxedDispatch
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