use Serialize;
use crate;
/// Implemented automatically with the effect macro from `crux_macros`.
/// This is a marker trait to ensure the macro generated traits are present on the effect type.
///
/// You should annotate your type with `#[effect]` to implement this trait.
// used in docs/internals/bridge.md
// ANCHOR: effect
// ANCHOR_END: effect
/// Implemented automatically with the effect macro from `crux_macros`.
/// This is used by the [`Bridge`](crate::bridge::Bridge) to serialize effects going across the
/// FFI boundary. If you don't need serialization and FFI, use [`Effect`].
///
/// You should annotate your type with `#[effect(typegen)]` to implement this trait.
// used in docs/internals/bridge.md
// ANCHOR: effect_typegen
// ANCHOR_END: effect_typegen