#[repr(u8)]pub enum DefaultHashTableError {
AllocationError = 0,
TableTooBigError = 1,
}Expand description
Represents a general possible error for the default hash table.
Variants§
AllocationError = 0
The underlying allocator returned an error, likely due to out of memory.
TableTooBigError = 1
The table is too big to be allocated.
Trait Implementations§
Source§impl From<BytellError> for DefaultHashTableError
impl From<BytellError> for DefaultHashTableError
Source§fn from(error: BytellError) -> Self
fn from(error: BytellError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DefaultHashTableError
impl RefUnwindSafe for DefaultHashTableError
impl Send for DefaultHashTableError
impl Sync for DefaultHashTableError
impl Unpin for DefaultHashTableError
impl UnsafeUnpin for DefaultHashTableError
impl UnwindSafe for DefaultHashTableError
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