--- date: 20201119 id: ab615a6d-64d5-49a4-824e-a02889a05a8f title: TryInto --- # Description TryInto[^1] is an attempted conversion that consumes self, which may or may not be expensive. # Delcaration ``` rust pub trait TryInto { type Error; fn try_into(self) -> Result; } ``` # Implementors ``` rust impl TryInto for T where U: TryFrom, ``` # Footnotes [^1]: