Struct perseus::plugins::FunctionalPluginServerActions
source · pub struct FunctionalPluginServerActions {
pub before_serve: FunctionalPluginAction<(), ()>,
}
Expand description
Functional actions that pertain to the server.
Fields§
§before_serve: FunctionalPluginAction<(), ()>
Runs before the server activates. This runs AFTER the current directory
has been appropriately set for a standalone binary vs running in the
development environment (inside .perseus/
).
Trait Implementations§
source§impl Default for FunctionalPluginServerActions
impl Default for FunctionalPluginServerActions
source§fn default() -> FunctionalPluginServerActions
fn default() -> FunctionalPluginServerActions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionalPluginServerActions
impl Send for FunctionalPluginServerActions
impl Sync for FunctionalPluginServerActions
impl Unpin for FunctionalPluginServerActions
impl !UnwindSafe for FunctionalPluginServerActions
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