Struct perseus::plugins::FunctionalPluginBuildActions
source · pub struct FunctionalPluginBuildActions {
pub before_build: FunctionalPluginAction<(), ()>,
pub after_successful_build: FunctionalPluginAction<(), ()>,
pub after_failed_build: FunctionalPluginAction<Arc<Error>, ()>,
}
Expand description
Functional actions that pertain to the build process. Note that these actions are not available for the build stage of the export process, and those should be registered separately.
Fields§
§before_build: FunctionalPluginAction<(), ()>
Runs before the build process.
after_successful_build: FunctionalPluginAction<(), ()>
Runs after the build process if it completes successfully.
after_failed_build: FunctionalPluginAction<Arc<Error>, ()>
Runs after the build process if it fails.
Trait Implementations§
source§impl Debug for FunctionalPluginBuildActions
impl Debug for FunctionalPluginBuildActions
source§impl Default for FunctionalPluginBuildActions
impl Default for FunctionalPluginBuildActions
source§fn default() -> FunctionalPluginBuildActions
fn default() -> FunctionalPluginBuildActions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionalPluginBuildActions
impl Send for FunctionalPluginBuildActions
impl Sync for FunctionalPluginBuildActions
impl Unpin for FunctionalPluginBuildActions
impl !UnwindSafe for FunctionalPluginBuildActions
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