Skip to main content

ServableWrite

Trait ServableWrite 

Source
pub trait ServableWrite: Write + Write { }
Expand description

The write half of Servable: encodable into either body format.

Both halves, because the frame header picks the format per request and a response is encoded in whichever one the request asked for.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§