fn map<F, O>(self, function: F) -> MapProcess<Self, F>
  where
    Self: Sized,
    F: FnOnce(Self::Value) -> O + 'static
  {
    MapProcess { process: self, function: function }
  }
/// Returns a process which applies the given function to its value
/// before passing the result to the continuation.
Returns a process which applies the given function to its value
before passing the result to the continuation.
Returns a process which applies the given function to its value before passing the result to the continuation .
fn map<F, O>(self, function: F) -> MapProcess<Self, F>
  where
    Self: Sized,
    F: FnOnce(Self::Value) -> O + 'static
  {
    MapProcess { process: self, function: function }
  }
fn map < F , O > ( self , function : F ) -> MapProcess < Self , F > where Self : Sized , F : FnOnce ( Self :: Value ) -> O + ' static { MapProcess { process : self , function : function } }
Returns a process which applies the given function to its value
before passing the result to the continuation.
Returns a process which applies the given function to its value before passing the result to the continuation .
self
function
F