pub struct IncomingRequest {
pub id: MessageId,
pub action: String,
pub payload: Box<RawValue>,
pub kind: MessageKind,
}Expand description
A request the peer sent that the application must handle.
Fields§
§id: MessageIdCorrelation id. Pass it back to Engine::respond.
action: StringThe action name, already checked against the version and the direction.
payload: Box<RawValue>The still-unparsed payload.
kind: MessageKindCall (answer it) or Send (do not).
Trait Implementations§
Source§impl Clone for IncomingRequest
impl Clone for IncomingRequest
Auto Trait Implementations§
impl Forget for IncomingRequest
impl Freeze for IncomingRequest
impl RefUnwindSafe for IncomingRequest
impl Send for IncomingRequest
impl Sync for IncomingRequest
impl Unpin for IncomingRequest
impl UnsafeUnpin for IncomingRequest
impl UnwindSafe for IncomingRequest
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