pub enum Error {
StackPtrNotAligned,
StackSwapInProgress,
}Expand description
Error types that can occur during stack swap operations.
Variants§
StackPtrNotAligned
The provided stack pointer is not properly aligned.
Stack pointers must be aligned to the platform’s requirements (typically 16 bytes on x86_64 and AArch64).
StackSwapInProgress
A stack swap is already in progress on the current thread (with tls feature)
or globally (without tls feature).
Nested or concurrent stack swaps are not supported. You must complete the current stack swap before initiating another one.
Trait Implementations§
Source§impl Ord for Error
impl Ord for Error
Source§impl PartialOrd for Error
impl PartialOrd for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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