#[repr(usize)]pub enum FastResult {
FastCall = 0,
Call = 1,
Restore = 2,
Switch = 3,
Continue = 4,
}
Expand description
快速路径处理结果。
Variants§
FastCall = 0
调用新上下文,只需设置 2 个或更少参数。
Call = 1
调用新上下文,需要设置超过 2 个参数。
Restore = 2
从快速路径直接返回。
Switch = 3
直接切换到另一个上下文。
Continue = 4
调用完整路径函数。
Auto Trait Implementations§
impl Freeze for FastResult
impl RefUnwindSafe for FastResult
impl Send for FastResult
impl Sync for FastResult
impl Unpin for FastResult
impl UnwindSafe for FastResult
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