fidl_fuchsia_fonts_experimental

Trait ProviderProxyInterface

Source
pub trait ProviderProxyInterface: Send + Sync {
    type GetTypefaceByIdResponseFut: Future<Output = Result<ProviderGetTypefaceByIdResult, Error>> + Send;
    type ListTypefacesResponseFut: Future<Output = Result<ProviderListTypefacesResult, Error>> + Send;
    type GetTypefacesByFamilyResponseFut: Future<Output = Result<ProviderGetTypefacesByFamilyResult, Error>> + Send;

    // Required methods
    fn get_typeface_by_id(&self, id: u32) -> Self::GetTypefaceByIdResponseFut;
    fn list_typefaces(
        &self,
        request: &ListTypefacesRequest,
        iterator: ServerEnd<ListTypefacesIteratorMarker>,
    ) -> Self::ListTypefacesResponseFut;
    fn get_typefaces_by_family(
        &self,
        family: &FamilyName,
    ) -> Self::GetTypefacesByFamilyResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§