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.
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
sourceimpl Allowlist for ProcessAllowlistConfig
impl Allowlist for ProcessAllowlistConfig
sourcefn all_features() -> Vec<&'static str>
fn all_features() -> Vec<&'static str>
Returns all features associated with the allowlist struct.
sourcefn to_features(&self) -> Vec<&'static str>
fn to_features(&self) -> Vec<&'static str>
Returns the tauri features enabled on this allowlist.
sourceimpl Clone for ProcessAllowlistConfig
impl Clone for ProcessAllowlistConfig
sourcefn clone(&self) -> ProcessAllowlistConfig
fn clone(&self) -> ProcessAllowlistConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProcessAllowlistConfig
impl Debug for ProcessAllowlistConfig
sourceimpl Default for ProcessAllowlistConfig
impl Default for ProcessAllowlistConfig
sourcefn default() -> ProcessAllowlistConfig
fn default() -> ProcessAllowlistConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProcessAllowlistConfig
impl<'de> Deserialize<'de> for ProcessAllowlistConfig
sourcefn 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
sourceimpl PartialEq<ProcessAllowlistConfig> for ProcessAllowlistConfig
impl PartialEq<ProcessAllowlistConfig> for ProcessAllowlistConfig
sourcefn eq(&self, other: &ProcessAllowlistConfig) -> bool
fn eq(&self, other: &ProcessAllowlistConfig) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more