pub enum PluginChannel {
Official,
Community,
Local,
}Expand description
Trust lane enabled for one runtime plugin slot. 运行时插件槽允许使用的信任通道。
Variants§
Official
Official lane: admits only official, signature-verified plugins. 官方通道:只接纳官方且签名已验证的插件。
Community
Community lane: admits user-sourced plugins, with the same rule as Local.
社区通道:接纳用户来源的插件,准入规则与 Local 相同。
Local
Local lane: admits user-sourced plugins, with the same rule as Community.
本地通道:接纳用户来源的插件,准入规则与 Community 相同。
Trait Implementations§
Source§impl Clone for PluginChannel
impl Clone for PluginChannel
Source§fn clone(&self) -> PluginChannel
fn clone(&self) -> PluginChannel
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 PluginChannel
Source§impl Debug for PluginChannel
impl Debug for PluginChannel
impl Eq for PluginChannel
Source§impl PartialEq for PluginChannel
impl PartialEq for PluginChannel
impl StructuralPartialEq for PluginChannel
Auto Trait Implementations§
impl Freeze for PluginChannel
impl RefUnwindSafe for PluginChannel
impl Send for PluginChannel
impl Sync for PluginChannel
impl Unpin for PluginChannel
impl UnsafeUnpin for PluginChannel
impl UnwindSafe for PluginChannel
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