pub struct StreamStartResponse {
pub handle: HttpStreamHandle,
pub status: u16,
pub headers: HashMap<String, String>,
}Expand description
Metadata returned when a streaming HTTP request is initiated.
Fields§
§handle: HttpStreamHandleThe handle to use for subsequent stream_read / stream_close calls.
status: u16HTTP status code.
headers: HashMap<String, String>Response headers.
Auto Trait Implementations§
impl Freeze for StreamStartResponse
impl RefUnwindSafe for StreamStartResponse
impl Send for StreamStartResponse
impl Sync for StreamStartResponse
impl Unpin for StreamStartResponse
impl UnsafeUnpin for StreamStartResponse
impl UnwindSafe for StreamStartResponse
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