fidl_fuchsia_tracing_provider

Trait ProviderProxyInterface

Source
pub trait ProviderProxyInterface: Send + Sync {
    type GetKnownCategoriesResponseFut: Future<Output = Result<Vec<KnownCategory>, Error>> + Send;

    // Required methods
    fn initialize(&self, config: ProviderConfig) -> Result<(), Error>;
    fn start(&self, options: &StartOptions) -> Result<(), Error>;
    fn stop(&self) -> Result<(), Error>;
    fn terminate(&self) -> Result<(), Error>;
    fn get_known_categories(&self) -> Self::GetKnownCategoriesResponseFut;
}

Required Associated Types§

Source

type GetKnownCategoriesResponseFut: Future<Output = Result<Vec<KnownCategory>, Error>> + Send

Required Methods§

Source

fn initialize(&self, config: ProviderConfig) -> Result<(), Error>

Source

fn start(&self, options: &StartOptions) -> Result<(), Error>

Source

fn stop(&self) -> Result<(), Error>

Source

fn terminate(&self) -> Result<(), Error>

Source

fn get_known_categories(&self) -> Self::GetKnownCategoriesResponseFut

Implementors§