pub trait SerializeFn<W>: Fn(WriteContext<W>) -> Result<WriteContext<W>, GenError> { }Expand description
Serialization types and traits Trait for serializing functions
Serializing functions take one input W that is the target of writing and return an instance
of cookie_factory::GenResult.
This trait is implemented for all Fn(W) -> GenResult<W>.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".