modfuture;modstream;usestd::{pin::Pin,task::{Context, Poll},};pubusefuture::FutureEffect;pubusestream::StreamEffect;/// An asynchronous computation which has access to `Data` when polled
///////// Similar to [`std::future::Future`] but provides mutable access to shared data during poll
pubtraitEffect<Data> {/// Polls the effect
fnpoll(self: Pin<&mutSelf>, context:&mutContext<'_>, data:&mut Data)->Poll<()>;}