Trait httpbis::solicit::frame::FrameIR [] [src]

pub trait FrameIR {
    fn serialize_into<B: FrameBuilder>(self, builder: &mut B) -> Result<()>;

    fn serialize_into_vec(self) -> Vec<u8>
    where
        Self: Sized
, { ... } }

A trait that types that are an intermediate representation of HTTP/2 frames should implement. It allows us to generically serialize any intermediate representation into an on-the-wire representation.

Required Methods

Write out the on-the-wire representation of the frame into the given FrameBuilder.

Provided Methods

Implementors