Trait tauri_utils::config::Allowlist
source · [−]pub trait Allowlist {
fn all_features() -> Vec<&'static str>;
fn to_features(&self) -> Vec<&'static str>;
}Expand description
Defines an allowlist type.
Required Methods
fn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
fn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.