Skip to main content

ForeignPropertyGetter

Trait ForeignPropertyGetter 

Source
pub trait ForeignPropertyGetter<T> {
    // Required method
    fn ffi_get(&self, key: CString) -> Result<T, QuickFixError>;
}
Expand description

Allow reading value (aka property) from a foreign (C++) object.

Required Methods§

Source

fn ffi_get(&self, key: CString) -> Result<T, QuickFixError>

Read foreign value from object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§