pub trait AsNode { // Required method fn as_node(self: Rc<Self>) -> Rc<dyn Node>; }
Used to cast Rc<dyn Stream> to Rc<dyn Node>