pub enum ServeUi {
Filesystem(PathBuf),
Embedded,
None,
}Expand description
How serve should mount a UI. Precedence: --ui dir > embedded > --no-ui.
Variants§
Trait Implementations§
impl Eq for ServeUi
impl StructuralPartialEq for ServeUi
Auto Trait Implementations§
impl Freeze for ServeUi
impl RefUnwindSafe for ServeUi
impl Send for ServeUi
impl Sync for ServeUi
impl Unpin for ServeUi
impl UnsafeUnpin for ServeUi
impl UnwindSafe for ServeUi
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