Lines Matching refs:NonNull
4 use std::ptr::NonNull;
9 ptr: NonNull<Header>,
14 pub(super) poll: unsafe fn(NonNull<Header>),
17 pub(super) dealloc: unsafe fn(NonNull<Header>),
20 pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker),
23 pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>),
26 pub(super) shutdown: unsafe fn(NonNull<Header>),
47 let ptr = unsafe { NonNull::new_unchecked(ptr as *mut Header) }; in new()
52 pub(super) unsafe fn from_raw(ptr: NonNull<Header>) -> RawTask { in from_raw()
102 unsafe fn poll<T: Future, S: Schedule>(ptr: NonNull<Header>) { in poll()
107 unsafe fn dealloc<T: Future, S: Schedule>(ptr: NonNull<Header>) { in dealloc()
113 ptr: NonNull<Header>, in try_read_output()
123 unsafe fn drop_join_handle_slow<T: Future, S: Schedule>(ptr: NonNull<Header>) { in drop_join_handle_slow()
128 unsafe fn shutdown<T: Future, S: Schedule>(ptr: NonNull<Header>) { in shutdown()