pub struct DevOptions {Show 15 fields
pub root: Option<PathBuf>,
pub host: Option<String>,
pub port: Option<u16>,
pub watch: Vec<PathBuf>,
pub open: bool,
pub offline: bool,
pub no_assets: bool,
pub hot_static: bool,
pub no_restart: bool,
pub no_reload: bool,
pub no_css_hot_swap: bool,
pub reload_port: Option<u16>,
pub debounce_ms: Option<u64>,
pub verbose: bool,
pub command: Vec<String>,
}Fields§
§root: Option<PathBuf>§host: Option<String>§port: Option<u16>§watch: Vec<PathBuf>§open: bool§offline: bool§no_assets: bool§hot_static: bool§no_restart: bool§no_reload: bool§no_css_hot_swap: bool§reload_port: Option<u16>§debounce_ms: Option<u64>§verbose: bool§command: Vec<String>Auto Trait Implementations§
impl Forget for DevOptions
impl Freeze for DevOptions
impl Move for DevOptions
impl RefUnwindSafe for DevOptions
impl Send for DevOptions
impl Sync for DevOptions
impl Unpin for DevOptions
impl UnsafeUnpin for DevOptions
impl UnwindSafe for DevOptions
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more