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§

source

fn all_features() -> Vec<&'static str>

Returns all features associated with the allowlist struct.

source

fn to_features(&self) -> Vec<&'static str>

Returns the tauri features enabled on this allowlist.

Object Safety§

This trait is not object safe.

Implementors§