pub enum DeviceConnectorRequest {
ConnectToDeviceInfo {
device_info_request: ServerEnd<DeviceInfoMarker>,
control_handle: DeviceConnectorControlHandle,
},
ConnectToApplication {
application_uuid: Uuid,
service_provider: Option<ClientEnd<ProviderMarker>>,
application_request: ServerEnd<ApplicationMarker>,
control_handle: DeviceConnectorControlHandle,
},
}
Expand description
Protocol used by the TEE Manager to proxy requests for TEE access to the driver.
Variants§
ConnectToDeviceInfo
Requests a DeviceInfo
connection to the TEE driver to enumerate device info.
The sole caller of this should be the TEE Manager.
Fields
§
device_info_request: ServerEnd<DeviceInfoMarker>
§
control_handle: DeviceConnectorControlHandle
ConnectToApplication
Requests an Application
connection from the TEE driver while the caller provides a client
channel end to a Provider
server that supports the driver on any RPCs.
The sole caller of this should be the TEE Manager.
Implementations§
Source§impl DeviceConnectorRequest
impl DeviceConnectorRequest
pub fn into_connect_to_device_info( self, ) -> Option<(ServerEnd<DeviceInfoMarker>, DeviceConnectorControlHandle)>
pub fn into_connect_to_application( self, ) -> Option<(Uuid, Option<ClientEnd<ProviderMarker>>, ServerEnd<ApplicationMarker>, DeviceConnectorControlHandle)>
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 DeviceConnectorRequest
impl !RefUnwindSafe for DeviceConnectorRequest
impl Send for DeviceConnectorRequest
impl Sync for DeviceConnectorRequest
impl Unpin for DeviceConnectorRequest
impl !UnwindSafe for DeviceConnectorRequest
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