Skip to main content

ShellHost

Trait ShellHost 

Source
pub trait ShellHost:
    Send
    + Sync
    + 'static {
    // Required methods
    fn resolve_activators(
        &self,
        items: &[ShellActivator],
    ) -> ShellResult<Vec<ResolvedShellActivator>>;
    fn apply_activators(
        &self,
        items: &[ResolvedShellActivator],
    ) -> ShellResult<()>;
    fn apply_pins(&self, items: &[ShellPin]) -> ShellResult<()>;
    fn activate(&self, intent: ShellActivationIntent) -> ShellResult<()>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§