Struct chromiumoxide::cdp::browser_protocol::fetch::TakeResponseBodyAsStreamParams [−][src]
Returns a handle to the stream representing the response body. The request must be paused in the HeadersReceived stage. Note that after this command the request can’t be continued as is – client either needs to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified. This method is mutually exclusive with getResponseBody. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior. takeResponseBodyAsStream
Fields
request_id: RequestId
Implementations
impl TakeResponseBodyAsStreamParams
[src]
pub fn new(request_id: impl Into<RequestId>) -> TakeResponseBodyAsStreamParams
[src]
impl TakeResponseBodyAsStreamParams
[src]
pub fn builder() -> TakeResponseBodyAsStreamParamsBuilder
[src]
impl TakeResponseBodyAsStreamParams
[src]
pub const IDENTIFIER: &'static str
[src]
Trait Implementations
impl Clone for TakeResponseBodyAsStreamParams
[src]
pub fn clone(&self) -> TakeResponseBodyAsStreamParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for TakeResponseBodyAsStreamParams
[src]
type Response = TakeResponseBodyAsStreamReturns
The type of the response this request triggers on the chromium server
pub fn response_from_value(response: Value) -> Result<Self::Response, Error>
[src]
impl Debug for TakeResponseBodyAsStreamParams
[src]
impl<'de> Deserialize<'de> for TakeResponseBodyAsStreamParams
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TakeResponseBodyAsStreamParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<TakeResponseBodyAsStreamParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Method for TakeResponseBodyAsStreamParams
[src]
pub fn identifier(&self) -> Cow<'static, str>
[src]
pub fn domain_name(&self) -> Cow<'static, str>
[src]
pub fn method_name(&self) -> Cow<'static, str>
[src]
pub fn split(&self) -> (Cow<'static, str>, Cow<'static, str>)
[src]
impl MethodType for TakeResponseBodyAsStreamParams
[src]
impl PartialEq<TakeResponseBodyAsStreamParams> for TakeResponseBodyAsStreamParams
[src]
pub fn eq(&self, other: &TakeResponseBodyAsStreamParams) -> bool
[src]
pub fn ne(&self, other: &TakeResponseBodyAsStreamParams) -> bool
[src]
impl Serialize for TakeResponseBodyAsStreamParams
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralPartialEq for TakeResponseBodyAsStreamParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for TakeResponseBodyAsStreamParams
impl Send for TakeResponseBodyAsStreamParams
impl Sync for TakeResponseBodyAsStreamParams
impl Unpin for TakeResponseBodyAsStreamParams
impl UnwindSafe for TakeResponseBodyAsStreamParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,