pub struct SymbolOverflowError { /* private fields */ }
Expand description
Error returned when a symbol identifier overflows.
Spinoso symbol uses u32
identifiers for symbols to save space. If more
than u32::MAX
symbols are stored in the underlying table, no more
identifiers can be generated.
Implementations§
Source§impl SymbolOverflowError
impl SymbolOverflowError
Sourcepub const MAX_IDENTIFIER: usize = 4_294_967_295usize
pub const MAX_IDENTIFIER: usize = 4_294_967_295usize
The maximum identifier of a Symbol
.
Trait Implementations§
Source§impl Clone for SymbolOverflowError
impl Clone for SymbolOverflowError
Source§fn clone(&self) -> SymbolOverflowError
fn clone(&self) -> SymbolOverflowError
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 moreSource§impl Debug for SymbolOverflowError
impl Debug for SymbolOverflowError
Source§impl Default for SymbolOverflowError
impl Default for SymbolOverflowError
Source§fn default() -> SymbolOverflowError
fn default() -> SymbolOverflowError
Returns the “default value” for a type. Read more
Source§impl Display for SymbolOverflowError
impl Display for SymbolOverflowError
Source§impl Error for SymbolOverflowError
impl Error for SymbolOverflowError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<TryFromIntError> for SymbolOverflowError
impl From<TryFromIntError> for SymbolOverflowError
Source§fn from(_err: TryFromIntError) -> Self
fn from(_err: TryFromIntError) -> Self
Converts to this type from the input type.
Source§impl Hash for SymbolOverflowError
impl Hash for SymbolOverflowError
Source§impl Ord for SymbolOverflowError
impl Ord for SymbolOverflowError
Source§fn cmp(&self, other: &SymbolOverflowError) -> Ordering
fn cmp(&self, other: &SymbolOverflowError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SymbolOverflowError
impl PartialEq for SymbolOverflowError
Source§impl PartialOrd for SymbolOverflowError
impl PartialOrd for SymbolOverflowError
impl Copy for SymbolOverflowError
impl Eq for SymbolOverflowError
impl StructuralPartialEq for SymbolOverflowError
Auto Trait Implementations§
impl Freeze for SymbolOverflowError
impl RefUnwindSafe for SymbolOverflowError
impl Send for SymbolOverflowError
impl Sync for SymbolOverflowError
impl Unpin for SymbolOverflowError
impl UnwindSafe for SymbolOverflowError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more