pub trait ControllerExtProxyInterface: Send + Sync {
    type IsConnectedResponseFut: Future<Output = Result<bool, Error>> + Send;
    type GetEventsSupportedResponseFut: Future<Output = Result<ControllerExtGetEventsSupportedResult, Error>> + Send;
    type SendRawVendorDependentCommandResponseFut: Future<Output = Result<ControllerExtSendRawVendorDependentCommandResult, Error>> + Send;

    // Required methods
    fn is_connected(&self) -> Self::IsConnectedResponseFut;
    fn get_events_supported(&self) -> Self::GetEventsSupportedResponseFut;
    fn send_raw_vendor_dependent_command(
        &self,
        pdu_id: u8,
        command: &[u8]
    ) -> Self::SendRawVendorDependentCommandResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§

source§

impl ControllerExtProxyInterface for ControllerExtProxy

§

type IsConnectedResponseFut = QueryResponseFut<bool>

§

type GetEventsSupportedResponseFut = QueryResponseFut<Result<Vec<NotificationEvent>, ControllerError>>

§

type SendRawVendorDependentCommandResponseFut = QueryResponseFut<Result<Vec<u8>, ControllerError>>