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§
Sourcetype Builder: OctetsBuilder
type Builder: OctetsBuilder
The type of octets builder this octets type can be converted into.
Required Methods§
Sourcefn into_builder(self) -> Self::Builder
fn into_builder(self) -> Self::Builder
Converts an octets value into an octets builder.
Implementations on Foreign Types§
Source§impl IntoBuilder for Bytes
Available on crate feature bytes only.
impl IntoBuilder for Bytes
Available on crate feature
bytes only.Source§impl IntoBuilder for Vec<u8>
Available on crate feature std only.
impl IntoBuilder for Vec<u8>
Available on crate feature
std only.Source§impl<'a> IntoBuilder for &'a [u8]
Available on crate feature std only.
impl<'a> IntoBuilder for &'a [u8]
Available on crate feature
std only.Source§impl<'a> IntoBuilder for Cow<'a, [u8]>
Available on crate feature std only.
impl<'a> IntoBuilder for Cow<'a, [u8]>
Available on crate feature
std only.Source§impl<A: Array<Item = u8>> IntoBuilder for SmallVec<A>
Available on crate feature smallvec only.
impl<A: Array<Item = u8>> IntoBuilder for SmallVec<A>
Available on crate feature
smallvec only.