pub struct ClientRequest {
pub req: DataRequest,
pub consumer: Sender<BytesMut>,
}Expand description
Wraps a data request and the channel that receives the server response.
Fields§
§req: DataRequest§consumer: Sender<BytesMut>Auto Trait Implementations§
impl !RefUnwindSafe for ClientRequest
impl !UnwindSafe for ClientRequest
impl Freeze for ClientRequest
impl Send for ClientRequest
impl Sync for ClientRequest
impl Unpin for ClientRequest
impl UnsafeUnpin for ClientRequest
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