Struct dittolive_ditto::error::FfiError
source · [−]Expand description
Errors Originating in C 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
Performs the conversion.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more