Struct actix_web::http::header::InvalidHeaderValueBytes [−][src]
pub struct InvalidHeaderValueBytes(_);
A possible error when converting a HeaderValue
from a string or byte
slice.
Trait Implementations
impl Display for InvalidHeaderValueBytes
[src]
impl Display for InvalidHeaderValueBytes
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<InvalidHeaderValueBytes> for Error
[src]
impl From<InvalidHeaderValueBytes> for Error
fn from(err: InvalidHeaderValueBytes) -> Error
[src]
fn from(err: InvalidHeaderValueBytes) -> Error
Performs the conversion.
impl Error for InvalidHeaderValueBytes
[src]
impl Error for InvalidHeaderValueBytes
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 InvalidHeaderValueBytes
[src]
impl Debug for InvalidHeaderValueBytes
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 InvalidHeaderValueBytes
[src]
impl ResponseError for InvalidHeaderValueBytes
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 InvalidHeaderValueBytes
impl Send for InvalidHeaderValueBytes
impl Sync for InvalidHeaderValueBytes
impl Sync for InvalidHeaderValueBytes