fidl_fuchsia_fontsTrait ProviderProxyInterface
Source pub trait ProviderProxyInterface: Send + Sync {
type GetFontResponseFut: Future<Output = Result<Option<Box<Response>>, Error>> + Send;
type GetFamilyInfoResponseFut: Future<Output = Result<Option<Box<FamilyInfo>>, Error>> + Send;
type GetTypefaceResponseFut: Future<Output = Result<TypefaceResponse, Error>> + Send;
type GetFontFamilyInfoResponseFut: Future<Output = Result<FontFamilyInfo, Error>> + Send;
type RegisterFontSetEventListenerResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn get_font(&self, request: &Request) -> Self::GetFontResponseFut;
fn get_family_info(&self, family: &str) -> Self::GetFamilyInfoResponseFut;
fn get_typeface(
&self,
request: &TypefaceRequest,
) -> Self::GetTypefaceResponseFut;
fn get_font_family_info(
&self,
family: &FamilyName,
) -> Self::GetFontFamilyInfoResponseFut;
fn register_font_set_event_listener(
&self,
listener: ClientEnd<FontSetEventListenerMarker>,
) -> Self::RegisterFontSetEventListenerResponseFut;
}