pub fn build( &mut self ) -> Result<TokioCt, std::io::Error>
	{
		#[ cfg( feature = "tokio_io" ) ]
		//
		self.builder.enable_io();

		#[ cfg( feature = "tokio_timer" ) ]
		//
		self.builder.enable_time();

		let exec = self.builder.build()?;

		Ok( TokioCt
		{
			exec : Rc::new( exec            ) ,
			local: Rc::new( LocalSet::new() ) ,
		})
	}
/// Create the actual executor.
///
/// The error comes from tokio. From their docs, no idea why it is there or what could go wrong.
//
Create the actual executor.
The error comes from tokio. From their docs, no idea why it is there or what could go wrong.
Create the actual executor . The error comes from tokio . From their docs no idea why it is there or what could go wrong .
pub fn build( &mut self ) -> Result<TokioCt, std::io::Error>
	{
		#[ cfg( feature = "tokio_io" ) ]
		//
		self.builder.enable_io();
		#[ cfg( feature = "tokio_timer" ) ]
		//
		self.builder.enable_time();
		let exec = self.builder.build()?;
		Ok( TokioCt
		{
			exec : Rc::new( exec            ) ,
			local: Rc::new( LocalSet::new() ) ,
		})
	}
pub fn build ( & mut self ) -> Result < TokioCt , std :: io :: Error > { # [ cfg ( feature " " ) ] // self . builder . enable_io ( ) ; # [ cfg ( feature " " ) ] // self . builder . enable_time ( ) ; let exec = self . builder . build ( ) ? ; Ok ( TokioCt { exec : Rc :: new ( exec ) , local : Rc :: new ( LocalSet :: new ( ) ) , } ) }
Create the actual executor.
Create the actual executor .
&mut self
&mut self