pub struct ComponentSecurity {
pub requires_tee: bool,
pub allowed_syscalls: Vec<String>,
}Expand description
Security and isolation requirements.
Fields§
§requires_tee: boolWhether the component requires execution inside a TEE (e.g., SGX, TrustZone).
If true and TEE is unavailable, deployment must fail.
allowed_syscalls: Vec<String>Whitelist of allowed system calls (if runtime supports syscall filtering).
Empty list = no restriction (or unsupported by runtime).
Trait Implementations§
Source§impl Clone for ComponentSecurity
impl Clone for ComponentSecurity
Source§fn clone(&self) -> ComponentSecurity
fn clone(&self) -> ComponentSecurity
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 ComponentSecurity
impl Debug for ComponentSecurity
Source§impl Default for ComponentSecurity
impl Default for ComponentSecurity
Source§fn default() -> ComponentSecurity
fn default() -> ComponentSecurity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentSecurity
impl<'de> Deserialize<'de> for ComponentSecurity
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 ComponentSecurity
impl PartialEq for ComponentSecurity
Source§impl Serialize for ComponentSecurity
impl Serialize for ComponentSecurity
impl Eq for ComponentSecurity
impl StructuralPartialEq for ComponentSecurity
Auto Trait Implementations§
impl Freeze for ComponentSecurity
impl RefUnwindSafe for ComponentSecurity
impl Send for ComponentSecurity
impl Sync for ComponentSecurity
impl Unpin for ComponentSecurity
impl UnwindSafe for ComponentSecurity
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.