pub enum EmulateItemResult {
NeedsReturn,
NeedsUnwind,
AlreadyJumped,
NotSupported,
}
Expand description
What needs to be done after emulating an item (a shim or an intrinsic) is done.
Variants§
NeedsReturn
The caller is expected to jump to the return block.
NeedsUnwind
The caller is expected to jump to the unwind block.
AlreadyJumped
Jumping to the next block has already been taken care of.
NotSupported
The item is not supported.
Auto Trait Implementations§
impl Freeze for EmulateItemResult
impl RefUnwindSafe for EmulateItemResult
impl Send for EmulateItemResult
impl Sync for EmulateItemResult
impl Unpin for EmulateItemResult
impl UnwindSafe for EmulateItemResult
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
NeedsReturn
: 0 bytesNeedsUnwind
: 0 bytesAlreadyJumped
: 0 bytesNotSupported
: 0 bytes