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
sourceimpl Debug for FunctionalPluginServerActions
impl Debug for FunctionalPluginServerActions
sourceimpl Default for FunctionalPluginServerActions
impl Default for FunctionalPluginServerActions
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more