Trait Service

pub trait Service<C>: DiscoverableService {
    type Connector;
}
Expand description

A FIDL service.

§Safety

The associated Connector type must be a #[repr(transparent)] wrapper around C.

Required Associated Types§

type Connector

The connector for the service. It must be a #[repr(transparent)] wrapper around C.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§