pub struct Registry;Expand description
The type corresponding to the Registry protocol.
Clone of [fuchsia.ui.pointerinjector/Registry], but uses driver transport.
Supports DSO experiment: https://fxbug.dev/403545512
Trait Implementations§
Source§impl Discoverable for Registry
impl Discoverable for Registry
Source§const PROTOCOL_NAME: &'static str = "fuchsia.ui.pointerinjector.dso.Registry"
const PROTOCOL_NAME: &'static str = "fuchsia.ui.pointerinjector.dso.Registry"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Registrywhere
___H: RegistryClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Registrywhere
___H: RegistryClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Registrywhere
___H: RegistryLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for Registrywhere
___H: RegistryLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Registrywhere
___H: RegistryLocalServerHandler<___T>,
___T: Transport,
for<'de> RegistryRegisterRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for Registrywhere
___H: RegistryLocalServerHandler<___T>,
___T: Transport,
for<'de> RegistryRegisterRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Registrywhere
___H: RegistryServerHandler<___T> + Send,
___T: Transport,
for<'de> RegistryRegisterRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Registrywhere
___H: RegistryServerHandler<___T> + Send,
___T: Transport,
for<'de> RegistryRegisterRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl HasTransport for Registry
Available on crate feature driver only.
impl HasTransport for Registry
Available on crate feature
driver only.Source§type Transport = DriverChannel
type Transport = DriverChannel
The default transport type for this protocol.
impl StructuralPartialEq for Registry
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnsafeUnpin for Registry
impl UnwindSafe for Registry
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]