Enum interchange::State [−][src]
#[repr(u8)] pub enum State { Idle, BuildingRequest, Requested, BuildingResponse, Responded, Canceled, // some variants omitted }
State of the RPC interchange
Variants
The requester may send a new request.
The requester is building a request, using the pre-allocated static data as &mut Request
The request is pending either processing by responder or cancelation by requester.
The responder is building a response, using the pre-allocated static data as &mut Response It may opportunitstically be canceled by requester.
The responder sent a response.
The requester canceled the request. Responder needs to acknowledge to return to Idle
state.
Trait Implementations
impl Clone for State
[src]
impl Clone for State
[src]fn clone(&self) -> State
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl StructuralPartialEq for State
[src]
impl StructuralPartialEq for State
[src]