1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 09:36:39 +02:00

do not use static

This commit is contained in:
Nikolay Kim
2019-04-02 10:53:44 -07:00
parent c27fbdc35f
commit d067b1d5f1
2 changed files with 72 additions and 72 deletions

View File

@@ -54,9 +54,6 @@ impl From<HttpError> for WsClientError {
/// A set of errors that can occur during parsing json payloads
#[derive(Debug, Display, From)]
pub enum JsonPayloadError {
/// Payload size is bigger than allowed. (default: 32kB)
#[display(fmt = "Json payload size is bigger than allowed.")]
Overflow,
/// Content type error
#[display(fmt = "Content type error")]
ContentType,