Struct dittolive_ditto::error::FfiError
source · [−]Expand description
Errors originating in FFI code.
Shadows the FFI’s CError type which doesn’t have a C Repr.
Fields
code: i32
msg: String
Trait Implementations
sourceimpl From<NonZeroI32> for FfiError
impl From<NonZeroI32> for FfiError
sourcefn from(code: NonZeroI32) -> FfiError
fn from(code: NonZeroI32) -> FfiError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for FfiError
impl Send for FfiError
impl Sync for FfiError
impl Unpin for FfiError
impl UnwindSafe for FfiError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more