ExactInto

Trait ExactInto 

Source
pub trait ExactInto<T> {
    type Error;

    // Required method
    fn exact_into(self) -> Result<T, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn exact_into(self) -> Result<T, Self::Error>

Implementors§

Source§

impl<T, U> ExactInto<U> for T
where U: ExactFrom<T>,

Source§

type Error = <U as ExactFrom<T>>::Error