fidl_next::bind

Trait Method

Source
pub trait Method {
    type Protocol;
    type Request<'buf>;
    type Response<'buf>;

    const ORDINAL: u64;
}
Expand description

A method of a protocol.

Required Associated Constants§

Source

const ORDINAL: u64

The ordinal associated with the method;

Required Associated Types§

Source

type Protocol

The protocol the method is a member of.

Source

type Request<'buf>

The request payload for the method.

Source

type Response<'buf>

The response payload for the method.

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§