pub enum SlotValidationError {
Policy(String),
Contract(String),
}Expand description
Why a plugin artifact was rejected for one slot. 插件工件被某个插件槽拒绝的原因。
Variants§
Policy(String)
Trust-lane or manifest policy violation. 信任通道或清单策略违规。
Contract(String)
Data-flow contract mismatch. 数据流合同不匹配。
Trait Implementations§
Source§impl Clone for SlotValidationError
impl Clone for SlotValidationError
Source§fn clone(&self) -> SlotValidationError
fn clone(&self) -> SlotValidationError
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 SlotValidationError
impl Debug for SlotValidationError
impl Eq for SlotValidationError
Source§impl PartialEq for SlotValidationError
impl PartialEq for SlotValidationError
impl StructuralPartialEq for SlotValidationError
Auto Trait Implementations§
impl Freeze for SlotValidationError
impl RefUnwindSafe for SlotValidationError
impl Send for SlotValidationError
impl Sync for SlotValidationError
impl Unpin for SlotValidationError
impl UnsafeUnpin for SlotValidationError
impl UnwindSafe for SlotValidationError
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