use async_trait::async_trait;
use bytes::Bytes;
use http::Request;
use http::Response;
use crate::Error;
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
pub trait Issue {
async fn issue(&self, request: Request<Option<String>>) -> Result<Response<Bytes>, Error>;
}