FromFfi

Trait FromFfi 

Source
pub trait FromFfi {
    type FfiType;

    // Required method
    fn from_ffi(ffi: Self::FfiType) -> Self;
}

Required Associated Types§

Required Methods§

Source

fn from_ffi(ffi: Self::FfiType) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromFfi for String

Source§

type FfiType = u64

Source§

fn from_ffi(ffi: Self::FfiType) -> Self

Implementors§