pub struct AstroRun { /* private fields */ }Implementations§
source§impl AstroRun
impl AstroRun
pub fn builder() -> AstroRunBuilder
pub fn cancel(&self, job_id: &JobId) -> Result<()>
pub fn register_plugin<P: Plugin + 'static>(&self, plugin: P) -> &Self
pub fn unregister_plugin(&self, plugin_name: &'static str) -> &Self
pub fn register_action<T>(&self, name: impl Into<String>, action: T) -> &Selfwhere
T: Action + 'static,
pub fn unregister_action(&self, name: &str) -> &Self
pub fn plugins(&self) -> PluginManager
pub fn actions(&self) -> Actions
pub fn execution_context(&self) -> ExecutionContextBuilder
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AstroRun
impl Send for AstroRun
impl Sync for AstroRun
impl Unpin for AstroRun
impl !UnwindSafe for AstroRun
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