Make RequestAdapterError (de)serializable

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
sagudev 2024-07-19 15:44:19 +02:00 committed by Connor Fitzgerald
parent 7a73c75e6a
commit d03b7e239d

View File

@ -438,6 +438,7 @@ impl<M: Marker> AdapterInputs<'_, M> {
pub struct InvalidAdapter;
#[derive(Clone, Debug, Error)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[non_exhaustive]
pub enum RequestAdapterError {
#[error("No suitable adapter found")]