Trait tauri_utils::config::Allowlist
source · pub trait Allowlist {
// Required methods
fn all_features() -> Vec<&'static str>;
fn to_features(&self) -> Vec<&'static str>;
}
Expand description
Defines an allowlist type.
Required Methods§
sourcefn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
sourcefn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.
Object Safety§
This trait is not object safe.