pub trait ProtocolParser<Output> where
    Output: DeserializeOwned
{ type Input; fn parse(input: Self::Input) -> Option<Result<Output, SocketError>>; }
Expand description

ProtocolParsers are capable of parsing the input messages from a given protocol (eg WebSocket, Financial Information eXchange, etc) and deserialising into an Output.

Associated Types

Required methods

Implementors