pub struct ClientRequest {
pub req: DataRequest,
pub consumer: Sender<BytesMut>,
}Expand description
The request wrapper struct. ‘req’ data request ‘consumer’ the signal that will be called by connection, when the response arrives
Fields§
§req: DataRequest§consumer: Sender<BytesMut>Auto Trait Implementations§
impl Freeze for ClientRequest
impl !RefUnwindSafe for ClientRequest
impl Send for ClientRequest
impl Sync for ClientRequest
impl Unpin for ClientRequest
impl !UnwindSafe 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