mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
455 B
455 B
id | title |
---|---|
ab615a6d-64d5-49a4-824e-a02889a05a8f | TryInto |
Description
TryInto1 is an attempted conversion that consumes self, which may or may not be expensive.
Delcaration
pub trait TryInto<T> {
type Error;
fn try_into(self) -> Result<T, Self::Error>;
}
Implementors
impl<T, U> TryInto<U> for T
where
U: TryFrom<T>,