Skip to main content

Frame

Trait Frame 

Source
pub trait Frame {
    // Required method
    fn frame() -> FrameSpec;
}
Expand description

A typed conversation frame. Implement via #[derive(Frame)].

Required Methods§

Source

fn frame() -> FrameSpec

The frame’s slot definition.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§