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