pub trait Stream: Serialize + DeserializeOwned {
    type Message: Serialize + DeserializeOwned;
    type Error: ApiError;

    const KIND: StreamKind;
    const ACTION: &'static str;
}
Available on crate feature feature only.
Expand description

The struct of the stream itself is like a request to start the stream

Required Associated Types

After an error occured the stream get’s closed

Required Associated Constants

Implementors