pub struct DataRequest {
pub handler_info: HandlerInfo,
pub data: Vec<u8>,
pub s_type: Box<dyn StructureType>,
}Expand description
handler_info — info about the target handler.
data — the request payload (serialized structure).
s_type — identifies what data is sent and how the server handler processes it.
Fields§
§handler_info: HandlerInfo§data: Vec<u8>§s_type: Box<dyn StructureType>Auto Trait Implementations§
impl !RefUnwindSafe for DataRequest
impl !UnwindSafe for DataRequest
impl Freeze for DataRequest
impl Send for DataRequest
impl Sync for DataRequest
impl Unpin for DataRequest
impl UnsafeUnpin for DataRequest
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