Enum actix_protobuf::ProtoBufPayloadError [−][src]
pub enum ProtoBufPayloadError {
Overflow,
ContentType,
Serialize(ProtoBufEncodeError),
Deserialize(ProtoBufDecodeError),
Payload(PayloadError),
}
Variants
Payload size is bigger than 256k
Content type error
Serialize(ProtoBufEncodeError)
Serialize error
Tuple Fields of Serialize
Deserialize(ProtoBufDecodeError)
Deserialize error
Tuple Fields of Deserialize
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