Enum guestmem::MultiRegionError
source · 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 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