// Backend — the pluggable interface that every clipboard implementation
// (subprocess, in-memory, future native FFI) realises.
///|
/// Pluggable backend trait. Most callers will not implement this directly; it
/// exists so that `InMemoryBackend`, the subprocess backend, and any future
/// native backends share a common interface that `Clipboard` dispatches to.
pub(open) trait Backend {
async fn get_text(Self) -> String raise ClipboardError
async fn set_text(Self, String) -> Unit raise ClipboardError
}