pub struct ProcessSecurity {
pub allowed_programs: Vec<String>,
}Expand description
Allowed programs for the process runner contract (B1).
Declared in app.toml under [security.process].
Fields§
§allowed_programs: Vec<String>Programs permitted to run. Must be pure executable names without path separators.
Trait Implementations§
Source§impl Clone for ProcessSecurity
impl Clone for ProcessSecurity
Source§fn clone(&self) -> ProcessSecurity
fn clone(&self) -> ProcessSecurity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessSecurity
impl Debug for ProcessSecurity
Source§impl Default for ProcessSecurity
impl Default for ProcessSecurity
Source§fn default() -> ProcessSecurity
fn default() -> ProcessSecurity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessSecurity
impl<'de> Deserialize<'de> for ProcessSecurity
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
impl Eq for ProcessSecurity
Source§impl PartialEq for ProcessSecurity
impl PartialEq for ProcessSecurity
Source§impl Serialize for ProcessSecurity
impl Serialize for ProcessSecurity
impl StructuralPartialEq for ProcessSecurity
Auto Trait Implementations§
impl Freeze for ProcessSecurity
impl RefUnwindSafe for ProcessSecurity
impl Send for ProcessSecurity
impl Sync for ProcessSecurity
impl Unpin for ProcessSecurity
impl UnsafeUnpin for ProcessSecurity
impl UnwindSafe for ProcessSecurity
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