binaryninja::download

Trait CustomDownloadProvider

source
pub trait CustomDownloadProvider: 'static + Sync {
    type Instance: CustomDownloadInstance;

    // Required methods
    fn handle(&self) -> DownloadProvider;
    fn from_core(core: DownloadProvider) -> Self;

    // Provided method
    fn create_instance(&self) -> Result<Ref<DownloadInstance>, ()> { ... }
}

Required Associated Types§

Required Methods§

source

fn handle(&self) -> DownloadProvider

source

fn from_core(core: DownloadProvider) -> Self

Called to construct this provider object with the given core object.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§