Struct actix_web::HttpRange 
                   
                       [−]
                   
               [src]
pub struct HttpRange {
    pub start: u64,
    pub length: u64,
}HTTP Range header representation.
Fields
start: u64
                           
                           
                           
                           length: u64
                           
                    Methods
impl HttpRange[src]
fn parse(header: &str, size: u64) -> Result<Vec<HttpRange>, HttpRangeParseError>[src]
Parses Range HTTP header string as per RFC 2616.
header is HTTP Range header (e.g. bytes=bytes=0-9).
size is full size of response (file).
Trait Implementations
impl Copy for HttpRange[src]
impl Clone for HttpRange[src]
fn clone(&self) -> HttpRange[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more