Enum actix_web::fs::FilesystemElement
[−]
[src]
pub enum FilesystemElement {
File(NamedFile),
Directory(Directory),
Redirect(HttpResponse),
}This enum represents all filesystem elements.
Variants
File(NamedFile)Directory(Directory)Redirect(HttpResponse)
Trait Implementations
impl Responder for FilesystemElement[src]
type Item = HttpResponse
The associated item which can be returned.
type Error = Error
The associated error which can be returned.
fn respond_to(self, req: HttpRequest) -> Result<HttpResponse, Error>[src]
Convert itself to Reply or Error.