[−][src]Trait conventus::AssembleFrom
Specifies the assembly of Self
from a sequence of P
s.
Associated Types
type Error
[src]
Describes an error with the parts.
This SHALL describe all cases that prevent a successful assembly other than the case where more parts are needed.
Required methods
pub fn assemble_from(
parts: &mut Vec<P>
) -> Result<Self, AssembleFailure<Self::Error>>
[src]
parts: &mut Vec<P>
) -> Result<Self, AssembleFailure<Self::Error>>
Assembles parts
into a Self
.
If assembly is successful, all items used in the assembly SHALL be removed from parts
.
Errors
If assembly fails, the cause of the failure SHALL be thrown and parts
SHALL NOT be modified.