Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extend api with iterator for routes (#41)
* feat: extend api with iterator for routes Forward iterator access to the routes to allow collecting them as a client. This allows eg. collecting the routes to subscribe them when using the router in an MQTT usecase. Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch> * feat: also add into_iter() clippy requests an implementation of into_iter() when implementing iter() Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch> * feat: implement IntoIterator trait instead of forwarding from vec Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch> * fix: implement IntoIterator for &PathTree<T> Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch> --------- Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch>
- Loading branch information