pub struct FileSystemLoader { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Debug for FileSystemLoader
impl Debug for FileSystemLoader
Source§impl Default for FileSystemLoader
impl Default for FileSystemLoader
Source§fn default() -> FileSystemLoader
fn default() -> FileSystemLoader
Returns the “default value” for a type. Read more
Source§impl TemplateLoader for FileSystemLoader
impl TemplateLoader for FileSystemLoader
fn load<'life0, 'life1, 'async_trait>(
&'life0 self,
source: &'life1 TemplateSource,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn can_load(&self, source: &TemplateSource) -> bool
fn load_directory<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 Path,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, String)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileSystemLoader
impl RefUnwindSafe for FileSystemLoader
impl Send for FileSystemLoader
impl Sync for FileSystemLoader
impl Unpin for FileSystemLoader
impl UnsafeUnpin for FileSystemLoader
impl UnwindSafe for FileSystemLoader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more