pub struct ResponseToken(/* private fields */);Expand description
One-use client capability for opening the response to one request.
Implementations§
Source§impl ResponseToken
impl ResponseToken
Sourcepub fn into_opener(self) -> ResponseOpener
pub fn into_opener(self) -> ResponseOpener
Consume this token to check response records as they arrive.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseToken
impl RefUnwindSafe for ResponseToken
impl Send for ResponseToken
impl Sync for ResponseToken
impl Unpin for ResponseToken
impl UnsafeUnpin for ResponseToken
impl UnwindSafe for ResponseToken
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