pub enum NodeTrust {
Trusted,
Quarantined,
}Expand description
W3: a node’s trust level. Quarantined nodes read untrusted content and must run with no
privileges; their output crosses into the trusted plane only as a structured summary (the SDK
enforces this — the kernel carries the flag to every spawn descriptor).
Variants§
Trait Implementations§
impl Copy for NodeTrust
Source§impl<'de> Deserialize<'de> for NodeTrust
impl<'de> Deserialize<'de> for NodeTrust
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 NodeTrust
impl StructuralPartialEq for NodeTrust
Auto Trait Implementations§
impl Freeze for NodeTrust
impl RefUnwindSafe for NodeTrust
impl Send for NodeTrust
impl Sync for NodeTrust
impl Unpin for NodeTrust
impl UnsafeUnpin for NodeTrust
impl UnwindSafe for NodeTrust
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