pub fn lock(self) -> LockedWheel<'futures> {
        // rc has always strong count of 1 (it can have strong count > 1 during calls
        // on handle, but if these calls return then it will be back to 1)
        let alg = Rc::try_unwrap(self.ptr).ok().expect("Cannot lock inside call to handle's method.");
        LockedWheel { alg }
    }
/// Lock this wheel preventing all handles from affecting the tasks.
///
/// Transforms this instance into [`LockedWheel`](struct.LockedWheel.html) which is similar to
/// [`Wheel`](struct.Wheel.html) but has no way of controlling tasks within it.
///
/// # Panics
/// Panics if this method was called inside handle's method such as
/// [`with_name`](struct.WheelHandle.html#method.with_name).
Lock this wheel preventing all handles from affecting the tasks.
Transforms this instance into [`LockedWheel`](struct.LockedWheel.html) which is similar to
[`Wheel`](struct.Wheel.html) but has no way of controlling tasks within it.
Lock this wheel preventing all handles from affecting the tasks . Transforms this instance into [ ` LockedWheel ` ] ( struct . LockedWheel . html ) which is similar to [ ` Wheel ` ] ( struct . Wheel . html ) but has no way of controlling tasks within it .
pub fn lock(self) -> LockedWheel<'futures> {
        // rc has always strong count of 1 (it can have strong count > 1 during calls
        // on handle, but if these calls return then it will be back to 1)
        let alg = Rc::try_unwrap(self.ptr).ok().expect("Cannot lock inside call to handle's method.");
        LockedWheel { alg }
    }
pub fn lock ( self ) -> LockedWheel < ' futures > { // rc has always strong count of 1 (it can have strong count > 1 during calls // on handle, but if these calls return then it will be back to 1) let alg = Rc :: try_unwrap ( self . ptr ) . ok ( ) . expect ( " " ) ; LockedWheel { alg } }
Lock this wheel preventing all handles from affecting the tasks.
Lock this wheel preventing all handles from affecting the tasks .
self
self
panics
Panics if this method was called inside handle's method such as
[`with_name`](struct.WheelHandle.html#method.with_name).
Panics if this method was called inside handle ' s method such as [ ` with_name ` ] ( struct . WheelHandle . html#method . with_name ) .