#[non_exhaustive]pub struct CapabilityReport {
pub plugin: Capabilities,
pub host: Capabilities,
}Expand description
Native plugin evidence and the isolated Chain API’s implementation for the queried slot. A feature needs both sides to support it. This does not describe the in-process API’s limits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.plugin: CapabilitiesFeatures reported by the native plugin.
host: CapabilitiesFeatures implemented by the isolated host path.
Implementations§
Source§impl CapabilityReport
impl CapabilityReport
Sourcepub fn new(plugin: Capabilities, host: Capabilities) -> CapabilityReport
pub fn new(plugin: Capabilities, host: Capabilities) -> CapabilityReport
Combines independent plugin evidence and host implementation support.
Trait Implementations§
Source§impl Clone for CapabilityReport
impl Clone for CapabilityReport
impl Copy for CapabilityReport
Source§impl Debug for CapabilityReport
impl Debug for CapabilityReport
impl Eq for CapabilityReport
Source§impl PartialEq for CapabilityReport
impl PartialEq for CapabilityReport
impl StructuralPartialEq for CapabilityReport
Auto Trait Implementations§
impl Forget for CapabilityReport
impl Freeze for CapabilityReport
impl Move for CapabilityReport
impl RefUnwindSafe for CapabilityReport
impl Send for CapabilityReport
impl Sync for CapabilityReport
impl Unpin for CapabilityReport
impl UnsafeUnpin for CapabilityReport
impl UnwindSafe for CapabilityReport
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