pub enum ReplConnectionState {
Idle,
WaitingForInstructionSeq {
request_id: RequestSeq,
send_result_handle: Sender<ExecResultHandle>,
},
WaitingForResult {
instruction_id: InstructionSeq,
output_sender: Sender<StandardOutput>,
result_sender: Sender<ExecResult>,
},
}Variants§
Idle
WaitingForInstructionSeq
WaitingForResult
Fields
§
instruction_id: InstructionSeq§
output_sender: Sender<StandardOutput>§
result_sender: Sender<ExecResult>Trait Implementations§
Source§impl Debug for ReplConnectionState
impl Debug for ReplConnectionState
Auto Trait Implementations§
impl Freeze for ReplConnectionState
impl !RefUnwindSafe for ReplConnectionState
impl Send for ReplConnectionState
impl Sync for ReplConnectionState
impl Unpin for ReplConnectionState
impl !UnwindSafe for ReplConnectionState
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