Trait pin_init::PtrPinWith [−][src]
pub trait PtrPinWith<T>: Deref<Target = T> + Sized {
fn pin_with<E, I>(init: I) -> Result<Pin<Self>, E>
where
I: Init<T, E>;
}
This is supported on crate feature
alloc_pin_with
only.Expand description
Pointer types that can be pin-newed.