pub enum RaspError {
OutOfBounds,
PermissionDenied,
Sealed,
AddressOverflow,
LayoutTooWide,
FeatureNotSupported,
}Expand description
Errors returned from RASP bounds / permission checks.
Variants§
OutOfBounds
PermissionDenied
Sealed
AddressOverflow
LayoutTooWide
Length did not fit in the layout’s 32-bit length field, or
the batch is already at capacity (u32::MAX entries).
FeatureNotSupported
The current CPU does not support the SIMD feature needed by a SIMD-only entry point. The scalar entry points are always available.
Trait Implementations§
impl Copy for RaspError
impl Eq for RaspError
impl StructuralPartialEq for RaspError
Auto Trait Implementations§
impl Freeze for RaspError
impl RefUnwindSafe for RaspError
impl Send for RaspError
impl Sync for RaspError
impl Unpin for RaspError
impl UnsafeUnpin for RaspError
impl UnwindSafe for RaspError
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