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.
pub unsafe trait Protocol<T> {
type Client;
type Server;
}
A FIDL protocol.
The associated Client
and Server
types must be #[repr(transparent)]
wrappers around Client<T>
and Server<T>
respectively.