TryInto
Description
TryInto[fn:documentation] is an attempted conversion that consumes self, which may or may not be expensive.
Delcaration
pub trait TryInto
type Error;
fn try_into(self) -> Result<T, Self::Error>;
}
Implementors
impl<T, U> TryInto for T
where
U: TryFrom
Footnotes
[fn:documentation]https://doc.rust-lang.org/std/convert/trait.TryInto.html