Home
last modified time | relevance | path

Searched defs:AllocError (Results 1 – 3 of 3) sorted by relevance

/rust/alloc/
Dalloc.rs168 fn alloc_impl(&self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>, AllocError> { in alloc_impl() argument
188 ) -> Result<NonNull<[u8]>, AllocError> { in grow_impl() argument
232 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() argument
237 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() argument
256 ) -> Result<NonNull<[u8]>, AllocError> { in grow() argument
267 ) -> Result<NonNull<[u8]>, AllocError> { in grow_zeroed() argument
278 ) -> Result<NonNull<[u8]>, AllocError> { in shrink() argument
Dboxed.rs284 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new() argument
667 pub fn try_new_uninit_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_uninit_slice() argument
699 pub fn try_new_zeroed_slice(len: usize) -> Result<Box<[mem::MaybeUninit<T>]>, AllocError> { in try_new_zeroed_slice() argument
/rust/alloc/collections/
Dmod.rs94 AllocError { enumerator