Trait assets::Loader[][src]

pub trait Loader: 'static + Send {
    type Path: 'static + Send + Clone;
    type Options: 'static + Send + Clone;
    type Output: 'static + Send;
    type Error: 'static + Send + Error;
    type Future: 'static + Send + Future<Item = Self::Output, Error = Self::Error>;
    fn load(&self, _: Self::Path, _: Self::Options) -> Self::Future;
}

Associated Types

Required Methods

Implementations on Foreign Types

impl<T> Loader for Arc<T> where
    T: 'static + Send + Sync + Loader
[src]

Implementors