Struct allocator_api::alloc::CannotReallocInPlace
source · pub struct CannotReallocInPlace;
Expand description
The CannotReallocInPlace
error is used when grow_in_place
or
shrink_in_place
were unable to reuse the given memory block for
a requested layout.
Implementations§
source§impl CannotReallocInPlace
impl CannotReallocInPlace
pub fn description(&self) -> &str
Trait Implementations§
source§impl Clone for CannotReallocInPlace
impl Clone for CannotReallocInPlace
source§fn clone(&self) -> CannotReallocInPlace
fn clone(&self) -> CannotReallocInPlace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more