#[repr(C)]pub struct FfiReturn {
pub status: u32,
pub value: GenericValue,
}Expand description
Result of a plugin function or a re-entering host callback.
value is always present; status (a FfiStatus as u32) says
what it is: the call’s result, an exception instance to (re-)raise, or
a meaningless placeholder accompanying a fatal pass-through error.
Fields§
§status: u32A FfiStatus as u32: what value means.
value: GenericValueThe result, the exception instance, or a fatal-status placeholder.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FfiReturn
impl RefUnwindSafe for FfiReturn
impl Send for FfiReturn
impl Sync for FfiReturn
impl Unpin for FfiReturn
impl UnsafeUnpin for FfiReturn
impl UnwindSafe for FfiReturn
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