Enum create_rust_app::dev::DevServerEvent
source · pub enum DevServerEvent {
SHUTDOWN,
CHECK_MIGRATIONS,
PendingMigrations(bool, Vec<CreateRustAppMigration>),
MigrationResponse(bool, Option<String>),
FeaturesList(Vec<String>),
ViteJSStatus(bool),
BackendCompiling(bool),
BackendRestarting(bool),
BackendStatus(bool),
CompileSuccess(bool),
CompileMessages(Vec<CompilerMessage>),
}
Variants§
SHUTDOWN
sent when Ctrl+C or similar signals are sent to the dev server parent process
CHECK_MIGRATIONS
sent once when the backend compiles successfully and more when files in the migrations/ directory change
PendingMigrations(bool, Vec<CreateRustAppMigration>)
MigrationResponse(bool, Option<String>)
FeaturesList(Vec<String>)
ViteJSStatus(bool)
BackendCompiling(bool)
BackendRestarting(bool)
BackendStatus(bool)
CompileSuccess(bool)
CompileMessages(Vec<CompilerMessage>)
Implementations§
Trait Implementations§
source§impl Clone for DevServerEvent
impl Clone for DevServerEvent
source§fn clone(&self) -> DevServerEvent
fn clone(&self) -> DevServerEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DevServerEvent
impl Send for DevServerEvent
impl Sync for DevServerEvent
impl Unpin for DevServerEvent
impl UnwindSafe for DevServerEvent
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more