fn assemble<E>(mut self) -> Result<Out, E>
	where E: Error {
		let order =
			self.order.take().ok_or_else(|| E::missing_field("order"))?;
		let head = self.head.take().ok_or_else(|| E::missing_field("head"))?;
		let bits = self.bits.take().ok_or_else(|| E::missing_field("bits"))?;
		let data = self.data.take().ok_or_else(|| E::missing_field("data"))?;

		if order != any::type_name::<O>() {
			return Err(E::invalid_type(Unexpected::Str(order), &self));
		}
		(self.func)(data, head, bits as usize).map_err(|_| todo!())
	}
/// Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value .
fn assemble<E>(mut self) -> Result<Out, E>
	where E: Error {
		let order =
			self.order.take().ok_or_else(|| E::missing_field("order"))?;
		let head = self.head.take().ok_or_else(|| E::missing_field("head"))?;
		let bits = self.bits.take().ok_or_else(|| E::missing_field("bits"))?;
		let data = self.data.take().ok_or_else(|| E::missing_field("data"))?;
		if order != any::type_name::<O>() {
			return Err(E::invalid_type(Unexpected::Str(order), &self));
		}
		(self.func)(data, head, bits as usize).map_err(|_| todo!())
	}
fn assemble < E > ( mut self ) -> Result < Out , E > where E : Error { let order = self . order . take ( ) . ok_or_else ( | | E :: missing_field ( " " ) ) ? ; let head = self . head . take ( ) . ok_or_else ( | | E :: missing_field ( " " ) ) ? ; let bits = self . bits . take ( ) . ok_or_else ( | | E :: missing_field ( " " ) ) ? ; let data = self . data . take ( ) . ok_or_else ( | | E :: missing_field ( " " ) ) ? ; if order != any :: type_name :: < O > ( ) { return Err ( E :: invalid_type ( Unexpected :: Str ( order ) , & self ) ) ; } ( self . func ) ( data , head , bits as usize ) . map_err ( | _ | todo ! ( ) ) }
Attempts to assemble deserialized components into an output value.
Attempts to assemble deserialized components into an output value .
mut self
mut self