Protocol

Trait Protocol 

Source
pub unsafe trait Protocol<T> {
    type Client;
    type Server;
}
Expand description

A FIDL protocol.

§Safety

The associated Client and Server types must be #[repr(transparent)] wrappers around Client<T> and Server<T> respectively.

Required Associated Types§

Source

type Client

The client for the protocol. It must be a #[repr(transparent)] wrapper around Client<T>.

Source

type Server

The server for the protocol. It must be a #[repr(transparent)] wrapper around Server<T>.

Implementors§