mz_storage_operators::oneshot_source::util

Trait IntoRangeHeaderValue

Source
pub trait IntoRangeHeaderValue {
    // Required method
    fn into_range_header_value(&self) -> String;
}
Expand description

Utility trait for converting various Rust Range types into a header value. according to the MDN Web Docs.

See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoRangeHeaderValue for Range<usize>

Source§

impl IntoRangeHeaderValue for RangeInclusive<usize>

Implementors§