pub trait RawRequest<A, B>: SerdeMessage<A, B, Self::Error> {
    type Response: SerdeMessage<A, B, Self::Error>;
    type Error: ApiError;

    const ACTION: A;
}
Expand description

Request and Response Definition which does not necessariliy implement serialize and deserialize.

However the error variant will always be serialized or deserialized.

If you wan’t to use serde itself use the macro, derive_serde_message!(Type);

Required Associated Types§

Required Associated Constants§

Implementors§