pub enum FfiPatternType {
PyO3,
Ctypes,
Cffi,
RustCFfi,
NodeNapi,
Wasm,
HttpRpc,
}Expand description
Types of FFI patterns.
Variants§
PyO3
Python calling Rust via PyO3.
Ctypes
Python calling C via ctypes.
Cffi
Python calling C via cffi.
RustCFfi
Rust calling C via extern “C”.
NodeNapi
Node.js calling native via N-API.
Wasm
WebAssembly boundary.
HttpRpc
HTTP/RPC call.
Trait Implementations§
Source§impl Clone for FfiPatternType
impl Clone for FfiPatternType
Source§fn clone(&self) -> FfiPatternType
fn clone(&self) -> FfiPatternType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FfiPatternType
impl Debug for FfiPatternType
Source§impl PartialEq for FfiPatternType
impl PartialEq for FfiPatternType
impl Copy for FfiPatternType
impl Eq for FfiPatternType
impl StructuralPartialEq for FfiPatternType
Auto Trait Implementations§
impl Freeze for FfiPatternType
impl RefUnwindSafe for FfiPatternType
impl Send for FfiPatternType
impl Sync for FfiPatternType
impl Unpin for FfiPatternType
impl UnsafeUnpin for FfiPatternType
impl UnwindSafe for FfiPatternType
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.