pub enum CollectionAllocErr {
CapacityOverflow,
AllocErr,
}🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Augments AllocErr with a CapacityOverflow variant.
🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Error due to the computed capacity exceeding the collection's maximum
(usually isize::MAX bytes).
🔬 This is a nightly-only experimental API. (try_reserve #48043)
new API
Error due to the allocator (see the AllocErr type's docs).
Formats the value using the given formatter. Read more
Performs copy-assignment from source. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=.
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
🔬 This is a nightly-only experimental API. (
try_from #33417)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (
try_from #33417)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id #27745)
this method will likely be replaced by an associated static
type Owned = T
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into #41263)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more