core::rt: implement `oneshot` and `stream`.