Enum perseus::engine::EngineOperation
source · pub enum EngineOperation {
Serve,
Build,
Export,
ExportErrorPage,
Tinker,
}
Expand description
A representation of the server-side engine operations that can be performed.
Variants§
Serve
Run the server for the app. This assumes the app has already been built.
Build
Build the app. This process involves statically generating HTML and the like to be sent to the client.
Export
Export the app by building it and also creating a file layout suitable for static file serving.
ExportErrorPage
Export a single error page to a single file.
Tinker
Run the tinker plugin actions.
Trait Implementations§
source§impl Clone for EngineOperation
impl Clone for EngineOperation
source§fn clone(&self) -> EngineOperation
fn clone(&self) -> EngineOperation
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 moresource§impl Debug for EngineOperation
impl Debug for EngineOperation
impl Copy for EngineOperation
Auto Trait Implementations§
impl RefUnwindSafe for EngineOperation
impl Send for EngineOperation
impl Sync for EngineOperation
impl Unpin for EngineOperation
impl UnwindSafe for EngineOperation
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