Struct actix_web::http::header::ContentRange [−][src]
pub struct ContentRange(pub ContentRangeSpec);
Expand description
Content-Range header, defined in
RFC7233
Trait Implementations
type Target = ContentRangeSpec
type Target = ContentRangeSpecThe resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Returns the name of the header field
Parse a header
type Error = InvalidHeaderValue
type Error = InvalidHeaderValueThe type returned in the event of a conversion error.
Try to convert value to a HeaderValue.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ContentRangeimpl Send for ContentRangeimpl Sync for ContentRangeimpl Unpin for ContentRangeimpl UnwindSafe for ContentRangeBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Error = <T as IntoHeaderValue>::Errorpub fn try_into_header_pair(
self
) -> Result<(HeaderName, HeaderValue), <T as IntoHeaderPair>::Error>type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V