Struct jsonrpc_ipc_server::RequestContext
source · [−]pub struct RequestContext<'a> {
pub session_id: SessionId,
pub endpoint_addr: &'a RemoteId,
pub sender: Sender<String>,
}
Expand description
Request context
Fields
session_id: SessionId
Session ID
endpoint_addr: &'a RemoteId
Remote UDS endpoint
sender: Sender<String>
Direct pipe sender
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RequestContext<'a>
impl<'a> Send for RequestContext<'a>
impl<'a> Sync for RequestContext<'a>
impl<'a> Unpin for RequestContext<'a>
impl<'a> !UnwindSafe for RequestContext<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more