pub trait IntoBuilder {
    type Builder: OctetsBuilder;

    // Required method
    fn into_builder(self) -> Self::Builder;
}
Expand description

An octets type that can be converted into an octets builder.

Required Associated Types§

source

type Builder: OctetsBuilder

The type of octets builder this octets type can be converted into.

Required Methods§

source

fn into_builder(self) -> Self::Builder

Converts an octets value into an octets builder.

Implementations on Foreign Types§

source§

impl IntoBuilder for Bytes

source§

impl<A: Array<Item = u8>> IntoBuilder for SmallVec<A>

§

type Builder = SmallVec<A>

source§

fn into_builder(self) -> Self::Builder

source§

impl IntoBuilder for Vec<u8>

source§

impl<'a> IntoBuilder for &'a [u8]

source§

impl<'a> IntoBuilder for Cow<'a, [u8]>

Implementors§