Struct gotham::handler::FileHandler [−][src]
pub struct FileHandler { /* fields omitted */ }
Expand description
Represents a handler for a single file.
Implementations
Create a new FileHandler
for the given path.
Trait Implementations
type Instance = Self
type Instance = Self
The type of Handler
created by the NewHandler
.
Create and return a new Handler
value.
Auto Trait Implementations
impl RefUnwindSafe for FileHandler
impl Send for FileHandler
impl Sync for FileHandler
impl Unpin for FileHandler
impl UnwindSafe for FileHandler
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more