pub enum FfiError {
NullArgument,
InvalidUtf8,
StaleHandle,
RuntimeUninitialized,
}Expand description
FFI boundary failures.
Variants§
NullArgument
A *const T or *mut T argument was null where required.
InvalidUtf8
A C string was not valid UTF-8.
StaleHandle
The handle’s tag/generation does not match a live object.
RuntimeUninitialized
The fiber runtime is not initialized.
Trait Implementations§
impl Eq for FfiError
impl StructuralPartialEq for FfiError
Auto Trait Implementations§
impl Freeze for FfiError
impl RefUnwindSafe for FfiError
impl Send for FfiError
impl Sync for FfiError
impl Unpin for FfiError
impl UnsafeUnpin for FfiError
impl UnwindSafe for FfiError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.