pub struct Dispatch<StorageRequestType: Debug> { /* private fields */ }Implementations§
Source§impl<StorageRequestType: Debug> Dispatch<StorageRequestType>
impl<StorageRequestType: Debug> Dispatch<StorageRequestType>
pub fn new( storage_request_receiver: Receiver<StorageRequestType>, executors: HashMap<Discriminant<StorageRequestType>, Executor<StorageRequestType>>, cancellation_token: CancellationToken, ) -> Self
pub async fn run(self)
Auto Trait Implementations§
impl<StorageRequestType> Freeze for Dispatch<StorageRequestType>
impl<StorageRequestType> !RefUnwindSafe for Dispatch<StorageRequestType>
impl<StorageRequestType> Send for Dispatch<StorageRequestType>where
StorageRequestType: Send,
impl<StorageRequestType> Sync for Dispatch<StorageRequestType>where
StorageRequestType: Send,
impl<StorageRequestType> Unpin for Dispatch<StorageRequestType>
impl<StorageRequestType> !UnwindSafe for Dispatch<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