pub trait ExtensionContext: Send + Sync {
// Required methods
fn extension_id(&self) -> &str;
fn version(&self) -> &str;
fn publisher(&self) -> &str;
fn display_name(&self) -> &str;
fn description(&self) -> &str;
fn is_development(&self) -> bool;
}
Expand description
Extension context trait for providing extension-specific information
Required Methods§
Source
fn
extension_id(&self) -> &str
fn extension_id(&self) -> &str
Get the extension ID
Source
fn
display_name(&self) -> &str
fn display_name(&self) -> &str
Get the extension display name
Source
fn
description(&self) -> &str
fn description(&self) -> &str
Get the extension description
Source
fn
is_development(&self) ->
bool
fn is_development(&self) -> bool
Check if the extension is in development mode