pub struct TakeResponseBodyForInterceptionAsStreamParams<'a> { /* private fields */ }Expand description
Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can’t be continued as is – you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
Implementations§
Source§impl<'a> TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> TakeResponseBodyForInterceptionAsStreamParams<'a>
pub fn builder( interceptionId: InterceptionId<'a>, ) -> TakeResponseBodyForInterceptionAsStreamParamsBuilder<'a>
pub fn interceptionId(&self) -> &InterceptionId<'a>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> CdpCommand<'a> for TakeResponseBodyForInterceptionAsStreamParams<'a>
Source§impl<'a> Clone for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Clone for TakeResponseBodyForInterceptionAsStreamParams<'a>
Source§fn clone(&self) -> TakeResponseBodyForInterceptionAsStreamParams<'a>
fn clone(&self) -> TakeResponseBodyForInterceptionAsStreamParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Debug for TakeResponseBodyForInterceptionAsStreamParams<'a>
Source§impl<'a> Default for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Default for TakeResponseBodyForInterceptionAsStreamParams<'a>
Source§fn default() -> TakeResponseBodyForInterceptionAsStreamParams<'a>
fn default() -> TakeResponseBodyForInterceptionAsStreamParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'de, 'a> Deserialize<'de> for TakeResponseBodyForInterceptionAsStreamParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> RefUnwindSafe for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Send for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Sync for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> Unpin for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> UnsafeUnpin for TakeResponseBodyForInterceptionAsStreamParams<'a>
impl<'a> UnwindSafe for TakeResponseBodyForInterceptionAsStreamParams<'a>
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