fidl_fuchsia_hardware_rtc

Trait DeviceProxyInterface

Source
pub trait DeviceProxyInterface: Send + Sync {
    type GetResponseFut: Future<Output = Result<DeviceGetResult, Error>> + Send;
    type SetResponseFut: Future<Output = Result<i32, Error>> + Send;

    // Required methods
    fn get(&self) -> Self::GetResponseFut;
    fn set(&self, rtc: &Time) -> Self::SetResponseFut;
}

Required Associated Types§

Source

type GetResponseFut: Future<Output = Result<DeviceGetResult, Error>> + Send

Source

type SetResponseFut: Future<Output = Result<i32, Error>> + Send

Required Methods§

Source

fn get(&self) -> Self::GetResponseFut

Source

fn set(&self, rtc: &Time) -> Self::SetResponseFut

Implementors§

Source§

impl DeviceProxyInterface for DeviceProxy

Source§

type GetResponseFut = QueryResponseFut<Result<Time, i32>>

Source§

type SetResponseFut = QueryResponseFut<i32>