pub struct VerifiedPluginArtifact { /* private fields */ }Expand description
Plugin bytes that passed the configured trust policy. 已通过宿主信任策略的插件字节。
Implementations§
Source§impl VerifiedPluginArtifact
impl VerifiedPluginArtifact
Sourcepub const fn registration(&self) -> RegistrationInfo
pub const fn registration(&self) -> RegistrationInfo
The registration data that passed verification. 已通过校验的注册声明。
Sourcepub const fn assurance(&self) -> PluginAssurance
pub const fn assurance(&self) -> PluginAssurance
The strongest check recorded for this artifact. 本工件实际记录的最高校验等级。
Sourcepub fn into_parts(self) -> (RegistrationInfo, Vec<u8>)
pub fn into_parts(self) -> (RegistrationInfo, Vec<u8>)
Consume the artifact into its registration data and bytes. 消耗工件,取出注册声明与插件字节。
Trait Implementations§
Source§impl Clone for VerifiedPluginArtifact
impl Clone for VerifiedPluginArtifact
Source§fn clone(&self) -> VerifiedPluginArtifact
fn clone(&self) -> VerifiedPluginArtifact
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 moreAuto Trait Implementations§
impl Freeze for VerifiedPluginArtifact
impl RefUnwindSafe for VerifiedPluginArtifact
impl Send for VerifiedPluginArtifact
impl Sync for VerifiedPluginArtifact
impl Unpin for VerifiedPluginArtifact
impl UnsafeUnpin for VerifiedPluginArtifact
impl UnwindSafe for VerifiedPluginArtifact
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