Trait domain::base::octets::FromBuilder
source · pub trait FromBuilder: AsRef<[u8]> + Sized {
type Builder: OctetsBuilder<Octets = Self>;
// Required method
fn from_builder(builder: Self::Builder) -> Self;
}
Expand description
An octets type that can be created from an octets builder.
Required Associated Types§
sourcetype Builder: OctetsBuilder<Octets = Self>
type Builder: OctetsBuilder<Octets = Self>
The type of builder this octets type can be created from.
Required Methods§
sourcefn from_builder(builder: Self::Builder) -> Self
fn from_builder(builder: Self::Builder) -> Self
Creates an octets value from an octets builder.