/// Returns the last value from stream.
///
/// # Examples
///
/// ```
/// use asyncplify::*;
///
/// let value = (0..4).into_stream().last_value().unwrap();
/// assert!(value == 3, "value = {}", value);
/// ```
Returns the last value from stream.
Returns the last value from stream .
fn last_value(self) -> Option<Self::Item>
        where Self: Sized
    {
        let mut last = LastValue::new();
        self.consume(&mut last);
        last.value
    }
fn last_value ( self ) -> Option < Self :: Item > where Self : Sized { let mut last = LastValue :: new ( ) ; self . consume ( & mut last ) ; last . value }
Returns the last value from stream.
Returns the last value from stream .
self
examples
```
use asyncplify::*.


` ` ` use asyncplify :: * .