pub trait DirBackendPlugin:
Send
+ Sync
+ 'static {
// Required method
fn get(
&self,
request: &Request<()>,
) -> Result<Response<Box<[u8]>>, DirBackendPluginError>;
}Expand description
An object that knows how to handle one or more kinds of directory requests.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".