octseq::builder

Trait IntoBuilder

source
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 IntoBuilder for Vec<u8>

source§

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

source§

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

source§

type Builder = Cow<'a, [u8]>

source§

fn into_builder(self) -> Self::Builder

source§

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

Implementors§

source§

impl<const N: usize> IntoBuilder for Array<N>