pub struct Dispatcher<'d, P, T, W>{
pub inner: Listener<0, P, Bundle<T, W, Throughput>>,
pub date: Updater<1>,
pub timer: Timer<{ crate::timer::SARK_TIMER_ID }>,
pub _ph: PhantomData<&'d ()>,
}Fields§
§inner: Listener<0, P, Bundle<T, W, Throughput>>§date: Updater<1>§timer: Timer<{ crate::timer::SARK_TIMER_ID }>§_ph: PhantomData<&'d ()>Implementations§
Source§impl<'d, P, T, W> Dispatcher<'d, P, T, W>
impl<'d, P, T, W> Dispatcher<'d, P, T, W>
pub const INNER_ROUTE: u8 = <Listener<0, P, Bundle<T, W, Throughput>> as ::dope::manifold::Manifold>::ID
pub const DATE_ROUTE: u8 = <Updater<1> as ::dope::manifold::Manifold>::ID
pub const TIMER_ROUTE: u8 = <Timer<{ crate::timer::SARK_TIMER_ID }> as ::dope::manifold::Manifold>::ID
Source§impl<'d, P, T, W> Dispatcher<'d, P, T, W>
impl<'d, P, T, W> Dispatcher<'d, P, T, W>
pub fn inner_handle<'__d>(
self: Pin<&mut Self>,
) -> Holding<'__d, Listener<0, P, Bundle<T, W, Throughput>>>where
Self: '__d,
pub fn date_handle<'__d>(self: Pin<&mut Self>) -> Holding<'__d, Updater<1>>where
Self: '__d,
pub fn timer_handle<'__d>(
self: Pin<&mut Self>,
) -> Holding<'__d, Timer<{ crate::timer::SARK_TIMER_ID }>>where
Self: '__d,
Trait Implementations§
Source§impl<'d, P, T, W> Dispatcher for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> Dispatcher for Dispatcher<'d, P, T, W>
fn dispatch(self: Pin<&mut Self>, __ev: Event, __driver: &mut Driver)
fn on_wake(self: Pin<&mut Self>, __target: Token, __driver: &mut Driver)
fn pre_park(self: Pin<&mut Self>, __driver: &mut Driver)
fn idle(self: Pin<&Self>) -> Idle
fn on_shutdown(self: Pin<&mut Self>, __driver: &mut Driver)
const SHUTDOWN_DRAIN: Duration = _
impl<'pin, 'd, P, T, W> Unpin for Dispatcher<'d, P, T, W>where
P: Application<Wire = W> + DateHost + TimerHost<'d>,
T: Transport,
W: Wire,
PinnedFieldsOf<__Dispatcher<'pin, 'd, P, T, W>>: Unpin,
Auto Trait Implementations§
impl<'d, P, T, W> !RefUnwindSafe for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> !Send for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> !Sync for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> !UnwindSafe for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> Freeze for Dispatcher<'d, P, T, W>
impl<'d, P, T, W> UnsafeUnpin for Dispatcher<'d, P, T, W>where
P: UnsafeUnpin,
<W as Wire>::InitConfig: UnsafeUnpin,
<T as Transport>::StreamOpts: UnsafeUnpin,
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