Buddy please make your types readable
Pin<Box<dyn ... + Send + '_>>
this is some async type erasure bullshit; why didn't they just make it impl Future
what the hell that would've been so much easier even if they're actually boxed.async fn
in traits were Not A Thing. however, I think impl Future
was totally a thing? and that was like, the usual workaround? @CenTdemeern1 bruh this is just a rustdoc skill issue. their actual type signature uses much more readable type aliases.
if I need to write a function that returns your type, make sure it's not Painfulyou can usefutures::future::BoxFuture
and misskey::streaming::ChannelStream
😉