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: 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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.