[][src]Trait swim_mem::resident::ResidentUnwrap

pub trait ResidentUnwrap<L: Lease>: Resident {
    type Target;
    fn resident_unwrap(lease: &L) -> Self::Target;
}

An unwrappable Resident of a raw memory Lease.

Associated Types

type Target

The type the resident unwraps to.

Loading content...

Required methods

fn resident_unwrap(lease: &L) -> Self::Target

Returns the unwrapped value for the resident of the given lease, leaving the lease in an uninitialized state.

Loading content...

Implementors

impl<L: Lease> ResidentUnwrap<L> for Box<L::Data, L::Meta> where
    L::Data: Sized
[src]

type Target = L::Data

Loading content...