Trait octseq::builder::FromBuilder
source · pub trait FromBuilder: AsRef<[u8]> + Sized {
type Builder: OctetsBuilder + FreezeBuilder<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 + FreezeBuilder<Octets = Self>
type Builder: OctetsBuilder + FreezeBuilder<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.
Object Safety§
This trait is not object safe.