#[repr(C)]pub struct FFIResult {
pub code: ResultCode,
pub data: LeakBuffer,
}Fields§
§code: ResultCode§data: LeakBufferImplementations§
Trait Implementations§
Source§impl<T: ABIResponse> From<Result<T, ResultCode>> for FFIResult
impl<T: ABIResponse> From<Result<T, ResultCode>> for FFIResult
Source§impl FromResidual<Result<Infallible, ResultCode>> for FFIResult
impl FromResidual<Result<Infallible, ResultCode>> for FFIResult
Source§fn from_residual(residual: Result<Infallible, ResultCode>) -> Self
fn from_residual(residual: Result<Infallible, ResultCode>) -> Self
🔬This is a nightly-only experimental API. (
try_trait_v2)Constructs the type from a compatible
Residual type. Read moreAuto Trait Implementations§
impl Freeze for FFIResult
impl RefUnwindSafe for FFIResult
impl !Send for FFIResult
impl !Sync for FFIResult
impl Unpin for FFIResult
impl UnwindSafe for FFIResult
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