Enum pop_launcher::PluginResponse[][src]

pub enum PluginResponse {
    Append(PluginSearchResult),
    Clear,
    Close,
    Context {
        id: Indice,
        options: Vec<ContextOption>,
    },
    Deactivate,
    DesktopEntry {
        path: PathBuf,
        gpu_preference: GpuPreference,
    },
    Fill(String),
    Finished,
}
Expand description

Sent from a plugin to the launcher service.

Variants

Append(PluginSearchResult)

Tuple Fields

Append a new search item to the launcher.

Clear

Clear all results in the launcher list.

Close

Close the launcher.

Context

Fields

id: Indice
options: Vec<ContextOption>

Deactivate

Instruct the launcher service to deactivate this plugin.

DesktopEntry

Fields

path: PathBuf
gpu_preference: GpuPreference

Fill(String)

Tuple Fields

0: String

Update the text in the launcher.

Finished

Indicoates that a plugin is finished with its queries.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.