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
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>
Required Methods
Implementations on Foreign Types
impl<T> Loader for Arc<T> where
T: 'static + Send + Sync + Loader,
[src]
impl<T> Loader for Arc<T> where
T: 'static + Send + Sync + Loader,