pub enum DeltasError {
UriParsing(String, String),
SubscriptionAlreadyPending,
TransportError(String),
BufferFull,
NotConnected,
AlreadyConnected,
ConnectionClosed,
ConnectionError {
source: Error,
},
Fatal(String),
}Variants§
UriParsing(String, String)
The passed tycho url failed to parse.
SubscriptionAlreadyPending
Informs you about a subscription being already pending and is awaiting conformation from the server.
TransportError(String)
Informs that an message failed to send via an internal channel or throuh the websocket channel. This is most likely fatal and might mean that the implementation is buggy under certain conditions.
BufferFull
An internal buffer is full. This likely means that messages are not being consumed fast enough. If the incoming load emits messages in bursts, consider increasing the buffer size.
NotConnected
The client has currently no active connection but it was accessed e.g. by calling subscribe.
AlreadyConnected
The connect method was called while the client already had an active connection.
ConnectionClosed
The connection was closed orderly by the server, e.g. because it restarted.
ConnectionError
The connection was closed unexpectedly by the server.
Fatal(String)
Other fatal errors: e.g. if the underlying websockets buffer is full.