pub trait MapInto<T> {
// Required method
fn map_into(self) -> T;
}
Expand description
Helper trait to map a container of T to a container of some type F that implements From
For example, Result
pub trait MapInto<T> {
// Required method
fn map_into(self) -> T;
}
Helper trait to map a container of T to a container of some type F that implements From
For example, Result