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§
Sourcetype ClientSender
type ClientSender
The client sender for the protocol. It must be a #[repr(transparent)]
wrapper around
ClientSender<T>
.
Sourcetype ServerSender
type ServerSender
The server sender for the protocol. It must be a #[repr(transparent)]
wrapper around
ServerSender<T>
.