pub type StreamProvider<T> = Receiver<Result<T, String>>;
pub struct StreamProvider<T> { /* private fields */ }