pub enum InvalidSlabSize {
Zero,
Misaligned,
TooLarge,
}Expand description
The reason an exception slab size is invalid.
Variants§
Zero
Zero cannot describe a mapping.
Misaligned
The size is not aligned to both a base page and the record stride.
TooLarge
The size exceeds the kernel ABI ceiling.
Trait Implementations§
Source§impl Clone for InvalidSlabSize
impl Clone for InvalidSlabSize
impl Copy for InvalidSlabSize
Source§impl Debug for InvalidSlabSize
impl Debug for InvalidSlabSize
Source§impl Display for InvalidSlabSize
impl Display for InvalidSlabSize
impl Eq for InvalidSlabSize
Source§impl Error for InvalidSlabSize
impl Error for InvalidSlabSize
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 PartialEq for InvalidSlabSize
impl PartialEq for InvalidSlabSize
impl StructuralPartialEq for InvalidSlabSize
Auto Trait Implementations§
impl Freeze for InvalidSlabSize
impl RefUnwindSafe for InvalidSlabSize
impl Send for InvalidSlabSize
impl Sync for InvalidSlabSize
impl Unpin for InvalidSlabSize
impl UnsafeUnpin for InvalidSlabSize
impl UnwindSafe for InvalidSlabSize
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