pub trait ServiceShape {
    type Protocol;
    type Operations;

    const ID: ShapeId;
    const VERSION: Option<&'static str>;
}
Expand description

Required Associated Types§

source

type Protocol

The Protocol applied to this service.

source

type Operations

An enumeration of all operations contained in this service.

Required Associated Constants§

source

const ID: ShapeId

The ShapeId of the service.

source

const VERSION: Option<&'static str>

The version of the service.

Object Safety§

This trait is not object safe.

Implementors§