Lines Matching refs:E
23 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
29 F: FnOnce(*mut T) -> Result<(), E>,
32 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init() argument
39 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E>
41 F: FnOnce(*mut T) -> Result<(), E>,
44 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() argument
71 fn make_closure<F, O, E>(self, f: F) -> F in make_closure() argument
73 F: FnOnce(*mut Self::Datee) -> Result<O, E>, in make_closure()
101 fn make_closure<F, O, E>(self, f: F) -> F in make_closure() argument
103 F: FnOnce(*mut Self::Datee) -> Result<O, E>, in make_closure()
171 pub fn init<E>(self: Pin<&mut Self>, init: impl PinInit<T, E>) -> Result<Pin<&mut T>, E> { in init() argument