Struct PluginInstanceId
pub struct PluginInstanceId { /* private fields */ }Expand description
The canonical logical namespace of one plugin capability binding.
package comes from an admitted manifest, capability selects one of its
declared worlds, and binding is assigned by the host. Versions, payload
digests, configuration revisions, and guest-exported names are intentionally
excluded so an upgrade does not change the logical namespace. This ID is not
artifact or publisher provenance; security-sensitive services must also use
the host’s admission decision when authorizing access.
Implementations§
Source§impl PluginInstanceId
impl PluginInstanceId
Sourcepub fn capability(&self) -> PluginCapability
pub fn capability(&self) -> PluginCapability
Capability world represented by this runtime instance.
Trait Implementations§
Source§impl Clone for PluginInstanceId
impl Clone for PluginInstanceId
Source§fn clone(&self) -> PluginInstanceId
fn clone(&self) -> PluginInstanceId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PluginInstanceId
impl Debug for PluginInstanceId
Source§impl Hash for PluginInstanceId
impl Hash for PluginInstanceId
Source§impl PartialEq for PluginInstanceId
impl PartialEq for PluginInstanceId
Source§fn eq(&self, other: &PluginInstanceId) -> bool
fn eq(&self, other: &PluginInstanceId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PluginInstanceId
impl StructuralPartialEq for PluginInstanceId
Auto Trait Implementations§
impl Freeze for PluginInstanceId
impl RefUnwindSafe for PluginInstanceId
impl Send for PluginInstanceId
impl Sync for PluginInstanceId
impl Unpin for PluginInstanceId
impl UnsafeUnpin for PluginInstanceId
impl UnwindSafe for PluginInstanceId
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