pub fn start(
      &mut self,
      filename: impl AsRef<str>,
      source: impl Into<String>,
   ) -> Result<Fiber, Error> {
      let script = self.compile(filename, source)?;
      Ok(script.into_fiber())
   }
/// Compiles and starts running a script.
///
/// This can be used as a shorthand if you don't intend to reuse the compiled bytecode.
///
/// # Errors
/// See [`compile`][`Self::compile`].
Compiles and starts running a script.
This can be used as a shorthand if you don't intend to reuse the compiled bytecode.
Compiles and starts running a script . This can be used as a shorthand if you don ' t intend to reuse the compiled bytecode .
pub fn start(
      &mut self,
      filename: impl AsRef<str>,
      source: impl Into<String>,
   ) -> Result<Fiber, Error> {
      let script = self.compile(filename, source)?;
      Ok(script.into_fiber())
   }
pub fn start ( & mut self , filename : impl AsRef < str > , source : impl Into < String > , ) -> Result < Fiber , Error > { let script = self . compile ( filename , source ) ? ; Ok ( script . into_fiber ( ) ) }
Compiles and starts running a script.
Compiles and starts running a script .
&mut self
filename
impl AsRef<str>
source
impl Into<String>
errors
None