//! The `Executor` trait — how plugins send work to PHP workers.
//!
//! `folk-core` provides the concrete implementation, backed by the worker pool.
use Arc;
use Result;
use async_trait;
use Bytes;
/// Sends a serialized payload to a PHP worker and returns the response.
///
/// Plugins call this; they never see the worker pool directly.
/// Blanket impl: an `Arc<dyn Executor>` is also an `Executor`.