pub trait PlatformProviderAuthor {
// Required methods
fn card(&self) -> PlatformCard;
fn bound_services(&self) -> BoundServices;
}Expand description
Contract implemented by capsule authors without exposing concrete capsules.
Required Methods§
Sourcefn card(&self) -> PlatformCard
fn card(&self) -> PlatformCard
Returns shaped discovery data for the provider.
Sourcefn bound_services(&self) -> BoundServices
fn bound_services(&self) -> BoundServices
Returns the exact services the capsule binds for this card.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".