pub struct SessionProcessAdminPluginFactory { /* private fields */ }Expand description
Plugin factory for process-control tools.
Declares its provider through a PluginSpec driven by
StaticPluginFactory, so it does not hand-roll the SessionPlugin +
register ceremony.
Implementations§
Source§impl SessionProcessAdminPluginFactory
impl SessionProcessAdminPluginFactory
pub fn new() -> Self
pub fn without_cancel_process() -> Self
Trait Implementations§
Source§impl PluginFactory for SessionProcessAdminPluginFactory
impl PluginFactory for SessionProcessAdminPluginFactory
fn id(&self) -> &'static str
Source§fn build(
&self,
ctx: &PluginSessionContext,
) -> Result<Arc<dyn SessionPlugin>, PluginError>
fn build( &self, ctx: &PluginSessionContext, ) -> Result<Arc<dyn SessionPlugin>, PluginError>
Produce a session-scoped plugin. Must be cheap — see the
trait-level docs for the full contract.
fn extension_contributions(&self) -> Vec<PluginExtensionContribution>
Auto Trait Implementations§
impl !RefUnwindSafe for SessionProcessAdminPluginFactory
impl !UnwindSafe for SessionProcessAdminPluginFactory
impl Freeze for SessionProcessAdminPluginFactory
impl Send for SessionProcessAdminPluginFactory
impl Sync for SessionProcessAdminPluginFactory
impl Unpin for SessionProcessAdminPluginFactory
impl UnsafeUnpin for SessionProcessAdminPluginFactory
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