pub trait ShellHost:
Send
+ Sync
+ 'static {
// Required methods
fn resolve_sidebar_actions(
&self,
generation: u64,
items: &[ShellSidebarAction],
) -> ShellResult<Vec<ResolvedShellSidebarAction>>;
fn apply_sidebar_actions(
&self,
items: &[ResolvedShellSidebarAction],
) -> ShellResult<()>;
fn apply_pins(&self, items: &[ShellPin]) -> ShellResult<()>;
fn activate(&self, intent: SidebarActionIntent) -> ShellResult<()>;
}Required Methods§
fn apply_pins(&self, items: &[ShellPin]) -> ShellResult<()>
fn activate(&self, intent: SidebarActionIntent) -> ShellResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".