pub fn into_future(self) -> Result<Future, VmError> {
        use crate::FromValue as _;

        let target = match self {
            Value::Future(fut) => return Ok(fut.take()?),
            target => target,
        };

        let value = EnvProtocolCaller.call_protocol_fn(Protocol::INTO_FUTURE, target, ())?;
        Future::from_value(value)
    }
/// Coerce into future, or convert into a future using the
/// [Protocol::INTO_FUTURE] protocol.
///
/// Note that this function will always failed if called outside of a
/// virtual machine.
Coerce into future, or convert into a future using the
[Protocol::INTO_FUTURE] protocol.

Note that this function will always failed if called outside of a
virtual machine.
Coerce into future or convert into a future using the [ Protocol :: INTO_FUTURE ] protocol . Note that this function will always failed if called outside of a virtual machine .
pub fn into_future(self) -> Result<Future, VmError> {
        use crate::FromValue as _;
        let target = match self {
            Value::Future(fut) => return Ok(fut.take()?),
            target => target,
        };
        let value = EnvProtocolCaller.call_protocol_fn(Protocol::INTO_FUTURE, target, ())?;
        Future::from_value(value)
    }
pub fn into_future ( self ) -> Result < Future , VmError > { use crate :: FromValue as _ ; let target = match self { Value :: Future ( fut ) => return Ok ( fut . take ( ) ? ) , target => target , } ; let value = EnvProtocolCaller . call_protocol_fn ( Protocol :: INTO_FUTURE , target , ( ) ) ? ; Future :: from_value ( value ) }
Coerce into future, or convert into a future using the
[Protocol::INTO_FUTURE] protocol.
Coerce into future or convert into a future using the [ Protocol :: INTO_FUTURE ] protocol .
self
self