Trait IgniteObj

Source
pub trait IgniteObj: WritableType + ReadableType { }
Expand description

Combines the WritableType and ReadableType crates. Intended to be used in the #[derive(IgniteObj)] attribute to automatically generate serialization/deserialization for the user-defined structs

use ignite_rs_derive::IgniteObj; #[derive(IgniteObj)] struct MyType { bar: String, foo: i32, }

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.

Implementors§