pub enum DeviceRequest {
GetEssentialParams {
responder: DeviceGetEssentialParamsResponder,
},
SetEssentialParams {
params: [u8; 48],
responder: DeviceSetEssentialParamsResponder,
},
GetConfig {
responder: DeviceGetConfigResponder,
},
GetDataProvider {
responder: DeviceGetDataProviderResponder,
},
SetProcessedFifoData {
data: [u8; 152],
responder: DeviceSetProcessedFifoDataResponder,
},
GetStepAndJeitaParams {
responder: DeviceGetStepAndJeitaParamsResponder,
},
}Expand description
Used by driver to interface with Starnix and speak to the hvdcp_opti daemon.
Variants§
GetEssentialParams
Fields
§
responder: DeviceGetEssentialParamsResponderSetEssentialParams
GetConfig
Fields
§
responder: DeviceGetConfigResponderGetDataProvider
Fields
§
responder: DeviceGetDataProviderResponderSetProcessedFifoData
GetStepAndJeitaParams
Fields
§
responder: DeviceGetStepAndJeitaParamsResponderImplementations§
Source§impl DeviceRequest
impl DeviceRequest
pub fn into_get_essential_params( self, ) -> Option<DeviceGetEssentialParamsResponder>
pub fn into_set_essential_params( self, ) -> Option<([u8; 48], DeviceSetEssentialParamsResponder)>
pub fn into_get_config(self) -> Option<DeviceGetConfigResponder>
pub fn into_get_data_provider(self) -> Option<DeviceGetDataProviderResponder>
pub fn into_set_processed_fifo_data( self, ) -> Option<([u8; 152], DeviceSetProcessedFifoDataResponder)>
pub fn into_get_step_and_jeita_params( self, ) -> Option<DeviceGetStepAndJeitaParamsResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceRequest
impl !RefUnwindSafe for DeviceRequest
impl Send for DeviceRequest
impl Sync for DeviceRequest
impl Unpin for DeviceRequest
impl !UnwindSafe for DeviceRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more