#[repr(C)]pub struct MacosFfiResult {
pub code: MacosErrorCode,
pub buffer: MacosFfiBuffer,
}Expand description
C ABI result containing either an owned byte buffer or a classified error.
Fields§
§code: MacosErrorCodeNative-facing result classification.
buffer: MacosFfiBufferOwned payload on success; empty for errors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MacosFfiResult
impl RefUnwindSafe for MacosFfiResult
impl !Send for MacosFfiResult
impl !Sync for MacosFfiResult
impl Unpin for MacosFfiResult
impl UnwindSafe for MacosFfiResult
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