fidl_fuchsia_paver

Trait SysconfigProxyInterface

Source
pub trait SysconfigProxyInterface: Send + Sync {
    type ReadResponseFut: Future<Output = Result<SysconfigReadResult, Error>> + Send;
    type WriteResponseFut: Future<Output = Result<i32, Error>> + Send;
    type GetPartitionSizeResponseFut: Future<Output = Result<SysconfigGetPartitionSizeResult, Error>> + Send;
    type FlushResponseFut: Future<Output = Result<i32, Error>> + Send;
    type WipeResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required methods
    fn read(&self) -> Self::ReadResponseFut;
    fn write(&self, payload: Buffer) -> Self::WriteResponseFut;
    fn get_partition_size(&self) -> Self::GetPartitionSizeResponseFut;
    fn flush(&self) -> Self::FlushResponseFut;
    fn wipe(&self) -> Self::WipeResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn read(&self) -> Self::ReadResponseFut

Source

fn write(&self, payload: Buffer) -> Self::WriteResponseFut

Source

fn get_partition_size(&self) -> Self::GetPartitionSizeResponseFut

Source

fn flush(&self) -> Self::FlushResponseFut

Source

fn wipe(&self) -> Self::WipeResponseFut

Implementors§

Source§

impl SysconfigProxyInterface for SysconfigProxy

Source§

type ReadResponseFut = QueryResponseFut<Result<Buffer, i32>>

Source§

type WriteResponseFut = QueryResponseFut<i32>

Source§

type GetPartitionSizeResponseFut = QueryResponseFut<Result<u64, i32>>

Source§

type FlushResponseFut = QueryResponseFut<i32>

Source§

type WipeResponseFut = QueryResponseFut<i32>