pub enum PluginRejectReason {
FrameworkMismatch,
SourceDisabled,
InvalidDigest,
MissingSignature,
LockMismatch,
}Expand description
Why a plugin-selection decision refused a manifest. 插件筛选决策拒绝某个 manifest 的原因。
Variants§
FrameworkMismatch
The manifest targets a different framework. manifest 针对的是另一个框架。
SourceDisabled
The policy disables the manifest’s source. 策略关闭了该 manifest 的来源。
InvalidDigest
The checksum is not a valid SHA-256 digest. 摘要不是合法的 SHA-256 值。
MissingSignature
An official plugin carried no usable signature. 官方插件没有可用的签名。
LockMismatch
The official lock record does not match the manifest. 官方锁记录与该 manifest 不一致。
Trait Implementations§
Source§impl Clone for PluginRejectReason
impl Clone for PluginRejectReason
Source§fn clone(&self) -> PluginRejectReason
fn clone(&self) -> PluginRejectReason
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 moreimpl Copy for PluginRejectReason
Source§impl Debug for PluginRejectReason
impl Debug for PluginRejectReason
Source§impl Display for PluginRejectReason
impl Display for PluginRejectReason
impl Eq for PluginRejectReason
Source§impl PartialEq for PluginRejectReason
impl PartialEq for PluginRejectReason
impl StructuralPartialEq for PluginRejectReason
Auto Trait Implementations§
impl Freeze for PluginRejectReason
impl RefUnwindSafe for PluginRejectReason
impl Send for PluginRejectReason
impl Sync for PluginRejectReason
impl Unpin for PluginRejectReason
impl UnsafeUnpin for PluginRejectReason
impl UnwindSafe for PluginRejectReason
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