pub struct EmbeddedLoader;Trait Implementations§
Source§impl Clone for EmbeddedLoader
impl Clone for EmbeddedLoader
Source§fn clone(&self) -> EmbeddedLoader
fn clone(&self) -> EmbeddedLoader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddedLoader
impl Debug for EmbeddedLoader
Source§impl Default for EmbeddedLoader
impl Default for EmbeddedLoader
Source§fn default() -> EmbeddedLoader
fn default() -> EmbeddedLoader
Returns the “default value” for a type. Read more
Source§impl TemplateLoader for EmbeddedLoader
impl TemplateLoader for EmbeddedLoader
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,
impl Copy for EmbeddedLoader
Auto Trait Implementations§
impl Freeze for EmbeddedLoader
impl RefUnwindSafe for EmbeddedLoader
impl Send for EmbeddedLoader
impl Sync for EmbeddedLoader
impl Unpin for EmbeddedLoader
impl UnwindSafe for EmbeddedLoader
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