[][src]Struct intaglio::SymbolOverflowError

pub struct SymbolOverflowError { /* fields omitted */ }

Error returned when a SymbolTable or symbol identifier overflows.

SymbolTable uses u32 identifiers for symbols to save space. If more than u32::MAX symbols are stored in the table, no more identifiers can be generated. Any subsequent inserts into the table will fail with this error.

Implementations

impl SymbolOverflowError[src]

#[must_use]pub const fn new() -> Self[src]

Construct a new SymbolOverflowError with no source.

#[must_use]pub const fn max_capacity(self) -> usize[src]

Return the maximum capacity of the SymbolTable that returned this error.

Trait Implementations

impl Clone for SymbolOverflowError[src]

impl Copy for SymbolOverflowError[src]

impl Debug for SymbolOverflowError[src]

impl Default for SymbolOverflowError[src]

impl Display for SymbolOverflowError[src]

impl Eq for SymbolOverflowError[src]

impl Error for SymbolOverflowError[src]

impl From<TryFromIntError> for SymbolOverflowError[src]

impl Hash for SymbolOverflowError[src]

impl Ord for SymbolOverflowError[src]

impl PartialEq<SymbolOverflowError> for SymbolOverflowError[src]

impl PartialOrd<SymbolOverflowError> for SymbolOverflowError[src]

impl StructuralEq for SymbolOverflowError[src]

impl StructuralPartialEq for SymbolOverflowError[src]

Auto Trait Implementations

impl RefUnwindSafe for SymbolOverflowError[src]

impl Send for SymbolOverflowError[src]

impl Sync for SymbolOverflowError[src]

impl Unpin for SymbolOverflowError[src]

impl UnwindSafe for SymbolOverflowError[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.