Struct tauri_utils::config::ProcessAllowlistConfig
source · pub struct ProcessAllowlistConfig {
pub all: bool,
pub relaunch: bool,
pub relaunch_dangerous_allow_symlink_macos: bool,
pub exit: bool,
}Expand description
Allowlist for the process APIs.
See more: https://tauri.app/v1/api/config#processallowlistconfig
Fields§
§all: boolUse this flag to enable all process APIs.
relaunch: boolEnables the relaunch API.
relaunch_dangerous_allow_symlink_macos: boolDangerous option that allows macOS to relaunch even if the binary contains a symlink.
This is due to macOS having less symlink protection. Highly recommended to not set this flag unless you have a very specific reason too, and understand the implications of it.
exit: boolEnables the exit API.
Trait Implementations§
source§impl Allowlist for ProcessAllowlistConfig
impl Allowlist for ProcessAllowlistConfig
source§fn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
source§fn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.
source§impl Clone for ProcessAllowlistConfig
impl Clone for ProcessAllowlistConfig
source§fn clone(&self) -> ProcessAllowlistConfig
fn clone(&self) -> ProcessAllowlistConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ProcessAllowlistConfig
impl Debug for ProcessAllowlistConfig
source§impl Default for ProcessAllowlistConfig
impl Default for ProcessAllowlistConfig
source§fn default() -> ProcessAllowlistConfig
fn default() -> ProcessAllowlistConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProcessAllowlistConfig
impl<'de> Deserialize<'de> for ProcessAllowlistConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ProcessAllowlistConfig> for ProcessAllowlistConfig
impl PartialEq<ProcessAllowlistConfig> for ProcessAllowlistConfig
source§fn eq(&self, other: &ProcessAllowlistConfig) -> bool
fn eq(&self, other: &ProcessAllowlistConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ProcessAllowlistConfig
impl Serialize for ProcessAllowlistConfig
impl Eq for ProcessAllowlistConfig
impl StructuralEq for ProcessAllowlistConfig
impl StructuralPartialEq for ProcessAllowlistConfig
Auto Trait Implementations§
impl RefUnwindSafe for ProcessAllowlistConfig
impl Send for ProcessAllowlistConfig
impl Sync for ProcessAllowlistConfig
impl Unpin for ProcessAllowlistConfig
impl UnwindSafe for ProcessAllowlistConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more