pub struct DevFileServerConfig {
pub root_dir: PathBuf,
pub spa_fallback: bool,
}Fields§
§root_dir: PathBuf§spa_fallback: boolWhen true, unknown paths fall back to index.html (SPA mode).
Auto Trait Implementations§
impl Forget for DevFileServerConfig
impl Freeze for DevFileServerConfig
impl RefUnwindSafe for DevFileServerConfig
impl Send for DevFileServerConfig
impl Sync for DevFileServerConfig
impl Unpin for DevFileServerConfig
impl UnsafeUnpin for DevFileServerConfig
impl UnwindSafe for DevFileServerConfig
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