pub enum ProviderRequest {
OpenCoordinatorWithListenerForVirtcon {
payload: ProviderOpenCoordinatorWithListenerForVirtconRequest,
responder: ProviderOpenCoordinatorWithListenerForVirtconResponder,
},
OpenCoordinatorWithListenerForPrimary {
payload: ProviderOpenCoordinatorWithListenerForPrimaryRequest,
responder: ProviderOpenCoordinatorWithListenerForPrimaryResponder,
},
}
Expand description
Provider for display coordinators.
The driver supports two simultaneous clients - a main client and a virtcon
client. In some cases, the provider service may provide access to only one or
the other; if the client tries to open the other then ZX_ERR_NOT_SUPPORTED
will
be returned.
Variants§
OpenCoordinatorWithListenerForVirtcon
Opens a Virtcon client connection to the display coordinator.
On success, coordinator
and coordinator_listener
will be bound to
the display coordinator, as the Virtcon client.
No event will be dispatched to the Coordinator
protocol.
Returns ZX_ERR_ALREADY_BOUND
if the display coordinator already has a
connected Virtcon client.
Fields
OpenCoordinatorWithListenerForPrimary
Opens a primary client connection to the display coordinator.
On success, coordinator
and coordinator_listener
will be bound to
the display coordinator, as the primary client.
No event will be dispatched to the Coordinator
protocol.
Returns ZX_ERR_ALREADY_BOUND
if the display coordinator already has a
connected primary client.
Implementations§
Source§impl ProviderRequest
impl ProviderRequest
pub fn into_open_coordinator_with_listener_for_virtcon( self, ) -> Option<(ProviderOpenCoordinatorWithListenerForVirtconRequest, ProviderOpenCoordinatorWithListenerForVirtconResponder)>
pub fn into_open_coordinator_with_listener_for_primary( self, ) -> Option<(ProviderOpenCoordinatorWithListenerForPrimaryRequest, ProviderOpenCoordinatorWithListenerForPrimaryResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL