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>