pub struct GetResponseBodyReturn { /* private fields */ }Available on crate features
Fetch and Network and IO and Page only.Expand description
Causes the body of the response to be received from the server and returned as a single string. May only be issued for a request that is paused in the Response stage and is mutually exclusive with takeResponseBodyForInterceptionAsStream. Calling other methods that affect the request or disabling fetch domain before body is received results in an undefined behavior.
Implementations§
Trait Implementations§
Source§impl Clone for GetResponseBodyReturn
impl Clone for GetResponseBodyReturn
Source§fn clone(&self) -> GetResponseBodyReturn
fn clone(&self) -> GetResponseBodyReturn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetResponseBodyReturn
impl Debug for GetResponseBodyReturn
Source§impl<'de> Deserialize<'de> for GetResponseBodyReturn
impl<'de> Deserialize<'de> for GetResponseBodyReturn
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 Freeze for GetResponseBodyReturn
impl RefUnwindSafe for GetResponseBodyReturn
impl Send for GetResponseBodyReturn
impl Sync for GetResponseBodyReturn
impl Unpin for GetResponseBodyReturn
impl UnwindSafe for GetResponseBodyReturn
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