pub enum MountMode {
Static,
Spa,
}Expand description
Discriminates between a plain static file mount and a mount that also performs SPA‑style fallback to index.html.
Variants§
Trait Implementations§
impl Copy for MountMode
impl Eq for MountMode
impl StructuralPartialEq for MountMode
Auto Trait Implementations§
impl Freeze for MountMode
impl RefUnwindSafe for MountMode
impl Send for MountMode
impl Sync for MountMode
impl Unpin for MountMode
impl UnsafeUnpin for MountMode
impl UnwindSafe for MountMode
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