pub struct PendingRequest {
pub id: String,
pub method: String,
pub response_tx: Sender<Result<Value, MultiplexerError>>,
pub created_at: Instant,
}Expand description
A pending server-initiated request awaiting response
Fields§
§id: StringRequest ID (UUID string)
method: StringMethod name for logging/debugging
response_tx: Sender<Result<Value, MultiplexerError>>Channel to send the response
created_at: InstantWhen this request was created (for timeout tracking)
Auto Trait Implementations§
impl Freeze for PendingRequest
impl !RefUnwindSafe for PendingRequest
impl Send for PendingRequest
impl Sync for PendingRequest
impl Unpin for PendingRequest
impl !UnwindSafe for PendingRequest
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