pub enum MultiRegionError {
NotPowerOfTwo(u64),
RegionSizeTooSmall(u64),
TooManyRegions {
region_count: usize,
max_region_count: usize,
region_size: u64,
},
BackingTooLarge {
backing_size: u64,
region_size: u64,
},
}Variants§
Trait Implementations§
Source§impl Debug for MultiRegionError
impl Debug for MultiRegionError
Source§impl Display for MultiRegionError
impl Display for MultiRegionError
Source§impl Error for MultiRegionError
impl Error for MultiRegionError
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()
Auto Trait Implementations§
impl Freeze for MultiRegionError
impl RefUnwindSafe for MultiRegionError
impl Send for MultiRegionError
impl Sync for MultiRegionError
impl Unpin for MultiRegionError
impl UnsafeUnpin for MultiRegionError
impl UnwindSafe for MultiRegionError
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