pub trait EmbedFolder {
// Required method
fn open(
path: &str,
) -> impl Future<Output = Result<Embedded, Error>> + Send + 'static;
}Expand description
A trait for types that embed a folder of assets.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".