Enum actix_protobuf::ProtoBufPayloadError [−][src]
pub enum ProtoBufPayloadError {
Overflow,
ContentType,
Serialize(ProtoBufEncodeError),
Deserialize(ProtoBufDecodeError),
Payload(PayloadError),
}
Variants
Overflow
Payload size is bigger than 256k
ContentType
Content type error
Serialize(ProtoBufEncodeError)
Tuple Fields
Serialize error
Deserialize(ProtoBufDecodeError)
Tuple Fields
Deserialize error
Payload(PayloadError)
Payload error
Trait Implementations
Performs the conversion.
Performs the conversion.
Creates full response for error. Read more
fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ProtoBufPayloadError
impl Send for ProtoBufPayloadError
impl Sync for ProtoBufPayloadError
impl Unpin for ProtoBufPayloadError
impl !UnwindSafe for ProtoBufPayloadError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more