Skip to main content

PlatformProviderAuthor

Trait PlatformProviderAuthor 

Source
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§

Source

fn card(&self) -> PlatformCard

Returns shaped discovery data for the provider.

Source

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".

Implementors§