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: bool
Use this flag to enable all process APIs.
relaunch: bool
Enables the relaunch API.
relaunch_dangerous_allow_symlink_macos: bool
Dangerous 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: bool
Enables 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 duplicate 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 for ProcessAllowlistConfig
impl PartialEq for ProcessAllowlistConfig
Source§impl Serialize for ProcessAllowlistConfig
impl Serialize for ProcessAllowlistConfig
impl Eq for ProcessAllowlistConfig
impl StructuralPartialEq for ProcessAllowlistConfig
Auto Trait Implementations§
impl Freeze for ProcessAllowlistConfig
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