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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".