Trait Protocol

Source
pub unsafe trait Protocol<T> {
    type ClientSender;
    type ServerSender;
}
Expand description

A FIDL protocol.

§Safety

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

Required Associated Types§

Source

type ClientSender

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

Source

type ServerSender

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

Implementors§