pub fn consume(self) -> TType::ForeignType
    {
        unsafe {
            // Read the value out of the guard and forget the guard to avoid
            // dropping it, which would clean the value.
            let value = std::ptr::read(&self.value);
            std::mem::forget(self);
            std::mem::ManuallyDrop::into_inner(value)
        }
    }
/// Consume the guard to acquire the final value and giving up on having to clean it later.
Consume the guard to acquire the final value and giving up on having to clean it later.
Consume the guard to acquire the final value and giving up on having to clean it later .
pub fn consume(self) -> TType::ForeignType
    {
        unsafe {
            // Read the value out of the guard and forget the guard to avoid
            // dropping it, which would clean the value.
            let value = std::ptr::read(&self.value);
            std::mem::forget(self);
            std::mem::ManuallyDrop::into_inner(value)
        }
    }
pub fn consume ( self ) -> TType :: ForeignType { unsafe { // Read the value out of the guard and forget the guard to avoid // dropping it, which would clean the value. let value = std :: ptr :: read ( & self . value ) ; std :: mem :: forget ( self ) ; std :: mem :: ManuallyDrop :: into_inner ( value ) } }
Consume the guard to acquire the final value and giving up on having to clean it later.
Consume the guard to acquire the final value and giving up on having to clean it later .
self
self