pub struct Serve(pub PathBuf);
Tuple Fields§
§0: PathBuf
Trait Implementations§
Source§impl Handler for Serve
impl Handler for Serve
fn call(&self, req: &mut dyn RequestExt) -> HandlerResult
Auto Trait Implementations§
impl Freeze for Serve
impl RefUnwindSafe for Serve
impl Send for Serve
impl Sync for Serve
impl Unpin for Serve
impl UnwindSafe for Serve
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