pub enum BucketMapError {
DataNoSpace((u64, u8)),
IndexNoSpace(u64),
}
Expand description
used to communicate resize necessary and current size.
Variants§
DataNoSpace((u64, u8))
(bucket_index, current_capacity_pow2) Note that this is specific to data buckets, which grow in powers of 2
IndexNoSpace(u64)
current_capacity_entries Note that this is specific to index buckets, which can be ‘Actual’ sizes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BucketMapError
impl RefUnwindSafe for BucketMapError
impl Send for BucketMapError
impl Sync for BucketMapError
impl Unpin for BucketMapError
impl UnwindSafe for BucketMapError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more