Erich
Follow

I learned today that I can use Box<Future<Item = (), Error = ()>>

to return whatever type implements a certain trait. it feels like a hack, but works.

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!