assets 0.3.0

asynchronous asset management
Documentation
1
2
3
4
5
6
7
8
pub trait Import {
    type Input;
    type Output;
    type Error;
    type Options: 'static + Send + Sync + Clone;

    fn import(Self::Input, Self::Options) -> Result<Self::Output, Self::Error>;
}