pub fn unescape(self) -> Option<T> {
        match Arc::try_unwrap(self.inner) {
            Ok(mut inner) => unsafe {
                let value = read(&mut *inner.value);
                drop(read(&mut inner.sender));
                forget(inner);
                Some(value)
            },
            Err(_) => None,
        }
    }
/// Unwrap escaping value.
/// This will effectivly prevent it from escaping.
/// In case of existing `KeepAlive` created from this instance this function will **escape** value instead.
Unwrap escaping value.
This will effectivly prevent it from escaping.
In case of existing `KeepAlive` created from this instance this function will **escape** value instead.
Unwrap escaping value . This will effectivly prevent it from escaping . In case of existing ` KeepAlive ` created from this instance this function will ** escape ** value instead .
pub fn unescape(self) -> Option<T> {
        match Arc::try_unwrap(self.inner) {
            Ok(mut inner) => unsafe {
                let value = read(&mut *inner.value);
                drop(read(&mut inner.sender));
                forget(inner);
                Some(value)
            },
            Err(_) => None,
        }
    }
pub fn unescape ( self ) -> Option < T > { match Arc :: try_unwrap ( self . inner ) { Ok ( mut inner ) => unsafe { let value = read ( & mut * inner . value ) ; drop ( read ( & mut inner . sender ) ) ; forget ( inner ) ; Some ( value ) } , Err ( _ ) => None , } }
Unwrap escaping value.
Unwrap escaping value .
self
self