Enum nom::lib::std::collections::CollectionAllocErr
[−]
[src]
pub enum CollectionAllocErr { CapacityOverflow, AllocErr(AllocErr), }
🔬 This is a nightly-only experimental API. (try_reserve
)
new API
Augments AllocErr
with a CapacityOverflow variant.
Variants
CapacityOverflow
🔬 This is a nightly-only experimental API. (try_reserve
)
new API
Error due to the computed capacity exceeding the collection's maximum
(usually isize::MAX
bytes).
AllocErr(AllocErr)
🔬 This is a nightly-only experimental API. (try_reserve
)
new API
Error due to the allocator (see the AllocErr
type's docs).
Trait Implementations
impl Debug for CollectionAllocErr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl PartialEq<CollectionAllocErr> for CollectionAllocErr
[src]
fn eq(&self, __arg_0: &CollectionAllocErr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CollectionAllocErr) -> bool
[src]
This method tests for !=
.
impl From<AllocErr> for CollectionAllocErr
[src]
fn from(err: AllocErr) -> CollectionAllocErr
[src]
Performs the conversion.
impl Eq for CollectionAllocErr
[src]
impl Clone for CollectionAllocErr
[src]
fn clone(&self) -> CollectionAllocErr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more