pub trait AsyncTryFrom<X> {
type Error;
// Required method
fn new<'life0, 'async_trait>(
input: &'life0 X,
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>>
where Self: Sized + 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for creating instances asynchronously with input X