Struct actix_web::http::header::InvalidHeaderValue [−][src]
pub struct InvalidHeaderValue { /* fields omitted */ }
A possible error when converting a HeaderValue
from a string or byte
slice.
Trait Implementations
impl Display for InvalidHeaderValue
[src]
impl Display for InvalidHeaderValue
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<InvalidHeaderValue> for Error
[src]
impl From<InvalidHeaderValue> for Error
fn from(err: InvalidHeaderValue) -> Error
[src]
fn from(err: InvalidHeaderValue) -> Error
Performs the conversion.
impl Error for InvalidHeaderValue
[src]
impl Error for InvalidHeaderValue
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Debug for InvalidHeaderValue
[src]
impl Debug for InvalidHeaderValue
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl ResponseError for InvalidHeaderValue
[src]
impl ResponseError for InvalidHeaderValue
BadRequest
for InvalidHeaderValue
fn error_response(&self) -> HttpResponse
[src]
fn error_response(&self) -> HttpResponse
Create response for error Read more
Auto Trait Implementations
impl Send for InvalidHeaderValue
impl Send for InvalidHeaderValue
impl Sync for InvalidHeaderValue
impl Sync for InvalidHeaderValue