pub enum DictionaryError {
CardinalityOverflow,
StringStorageOverflow,
}Expand description
A typed failure while constructing a string dictionary.
Variants§
CardinalityOverflow
The dictionary cardinality exceeded the u32 code space.
StringStorageOverflow
UTF-8 bytes or offsets exceeded the u32 side-array representation.
Trait Implementations§
Source§impl Clone for DictionaryError
impl Clone for DictionaryError
impl Copy for DictionaryError
Source§impl Debug for DictionaryError
impl Debug for DictionaryError
Source§impl Display for DictionaryError
impl Display for DictionaryError
impl Eq for DictionaryError
Source§impl Error for DictionaryError
impl Error for DictionaryError
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<DictionaryError> for BuildError
impl From<DictionaryError> for BuildError
Source§fn from(error: DictionaryError) -> Self
fn from(error: DictionaryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DictionaryError
impl PartialEq for DictionaryError
impl StructuralPartialEq for DictionaryError
Auto Trait Implementations§
impl Freeze for DictionaryError
impl RefUnwindSafe for DictionaryError
impl Send for DictionaryError
impl Sync for DictionaryError
impl Unpin for DictionaryError
impl UnsafeUnpin for DictionaryError
impl UnwindSafe for DictionaryError
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