fidl_fuchsia_boot

Trait ItemsProxyInterface

Source
pub trait ItemsProxyInterface: Send + Sync {
    type GetResponseFut: Future<Output = Result<(Option<Vmo>, u32), Error>> + Send;
    type Get2ResponseFut: Future<Output = Result<ItemsGet2Result, Error>> + Send;
    type GetBootloaderFileResponseFut: Future<Output = Result<Option<Vmo>, Error>> + Send;

    // Required methods
    fn get(&self, type_: u32, extra: u32) -> Self::GetResponseFut;
    fn get2(&self, type_: u32, extra: Option<&Extra>) -> Self::Get2ResponseFut;
    fn get_bootloader_file(
        &self,
        filename: &str,
    ) -> Self::GetBootloaderFileResponseFut;
}

Required Associated Types§

Source

type GetResponseFut: Future<Output = Result<(Option<Vmo>, u32), Error>> + Send

Source

type Get2ResponseFut: Future<Output = Result<ItemsGet2Result, Error>> + Send

Source

type GetBootloaderFileResponseFut: Future<Output = Result<Option<Vmo>, Error>> + Send

Required Methods§

Source

fn get(&self, type_: u32, extra: u32) -> Self::GetResponseFut

Source

fn get2(&self, type_: u32, extra: Option<&Extra>) -> Self::Get2ResponseFut

Source

fn get_bootloader_file( &self, filename: &str, ) -> Self::GetBootloaderFileResponseFut

Implementors§

Source§

impl ItemsProxyInterface for ItemsProxy

Source§

type GetResponseFut = QueryResponseFut<(Option<Vmo>, u32)>

Source§

type Get2ResponseFut = QueryResponseFut<Result<Vec<RetrievedItems>, i32>>

Source§

type GetBootloaderFileResponseFut = QueryResponseFut<Option<Vmo>>