Trait ServiceShape

Source
pub trait ServiceShape {
    type Protocol;
    type Operations;

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

Required Associated Constants§

Source

const ID: ShapeId

The ShapeId of the service.

Source

const VERSION: Option<&'static str>

The version of the service.

Required Associated Types§

Source

type Protocol

The Protocol applied to this service.

Source

type Operations

An enumeration of all operations contained in this service.

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§