assets 0.3.0

asynchronous asset management
Documentation
1
2
3
4
5
6
7
8
9
10
11
use futures::Future;

pub trait Exporter: Send + Sync {
    type Input;
    type Path: Send + Clone;
    type Options: Send + Clone;
    type Error;
    type Future: 'static + Future<Item = (), Error = Self::Error> + Send;

    fn export(&self, Self::Input, Self::Path, Self::Options) -> Self::Future;
}