pub trait Facade: Debug {
// Required method
fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided methods
fn cleanup(&self) { ... }
fn print(&self) { ... }
}
Expand description
An Sl4f facade that can handle incoming requests.
Required Methods§
Sourcefn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_request<'life0, 'async_trait>(
&'life0 self,
method: String,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Asynchronously handle the incoming request for the given method and arguments, returning a future object representing the pending operation.
Provided Methods§
Implementations on Foreign Types§
Source§impl Facade for TestCallManager
impl Facade for TestCallManager
Source§impl Facade for RfcommManager
impl Facade for RfcommManager
Implementors§
impl Facade for AudioFacade
impl Facade for A2dpFacade
impl Facade for AvdtpFacade
impl Facade for AvrcpFacade
impl Facade for BleAdvertiseFacade
impl Facade for BluetoothSysFacade
impl Facade for GattClientFacade
impl Facade for GattServerFacade
impl Facade for ProfileServerFacade
impl Facade for ComponentFacade
impl Facade for DeviceFacade
impl Facade for DiagnosticsFacade
impl Facade for FactoryResetFacade
impl Facade for FactoryStoreFacade
impl Facade for FeedbackDataProviderFacade
impl Facade for FileFacade
impl Facade for HardwarePowerStatecontrolFacade
impl Facade for HwinfoFacade
impl Facade for InputFacade
impl Facade for EmergencyProviderFacade
impl Facade for RegulatoryRegionFacade
impl Facade for LoggingFacade
impl Facade for MediaSessionFacade
The media session facade is added here for media latency e2e test.