pub(crate) struct Dial {
pub id: usize,
pub url: String,
pub range: Option<ByteRange>,
pub headers: Arc<[(HeaderName, HeaderValue)]>,
}Expand description
What a connection asks for: url, or just range of it, with the app’s headers.
Fields§
§id: usize§url: String§range: Option<ByteRange>§headers: Arc<[(HeaderName, HeaderValue)]>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dial
impl RefUnwindSafe for Dial
impl Send for Dial
impl Sync for Dial
impl Unpin for Dial
impl UnsafeUnpin for Dial
impl UnwindSafe for Dial
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more