pub fn build( &mut self ) -> Result<TokioTp, 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( TokioTp
		{
			exec: Some( Arc::new(exec) ),
		})
	}
/// Create the actual executor.
///
/// The error comes from tokio. From their docs, no idea why it is there or what could go wrong.
/// Suppose spawning threads could fail...
//
Create the actual executor.
The error comes from tokio. From their docs, no idea why it is there or what could go wrong.
Suppose spawning threads could fail
Create the actual executor . The error comes from tokio . From their docs no idea why it is there or what could go wrong . Suppose spawning threads could fail
pub fn build( &mut self ) -> Result<TokioTp, 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( TokioTp
		{
			exec: Some( Arc::new(exec) ),
		})
	}
pub fn build ( & mut self ) -> Result < TokioTp , std :: io :: Error > { # [ cfg ( feature " " ) ] // self . builder . enable_io ( ) ; # [ cfg ( feature " " ) ] // self . builder . enable_time ( ) ; let exec = self . builder . build ( ) ? ; Ok ( TokioTp { exec : Some ( Arc :: new ( exec ) ) , } ) }
Create the actual executor.
Create the actual executor .
&mut self
&mut self