pub struct Dispatch<LogicRequestType: Debug, StorageRequestType> { /* private fields */ }Implementations§
Source§impl<LogicRequestType: Debug, StorageRequestType> Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType: Debug, StorageRequestType> Dispatch<LogicRequestType, StorageRequestType>
pub fn new( logic_request_receiver: Receiver<LogicRequestType>, executors: HashMap<Discriminant<LogicRequestType>, Executor<LogicRequestType, StorageRequestType>>, storage_request_sender: Sender<StorageRequestType>, cancellation_token: CancellationToken, ) -> Dispatch<LogicRequestType, StorageRequestType>
pub async fn run(self)
Auto Trait Implementations§
impl<LogicRequestType, StorageRequestType> Freeze for Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType, StorageRequestType> !RefUnwindSafe for Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType, StorageRequestType> Send for Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType, StorageRequestType> Sync for Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType, StorageRequestType> Unpin for Dispatch<LogicRequestType, StorageRequestType>
impl<LogicRequestType, StorageRequestType> !UnwindSafe for Dispatch<LogicRequestType, StorageRequestType>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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