pub struct RequestContext<'a> {
pub session_id: SessionId,
pub endpoint_addr: &'a Path,
pub sender: UnboundedSender<String>,
}
Expand description
Request context
Fields§
§session_id: SessionId
Session ID
endpoint_addr: &'a Path
Remote UDS endpoint
sender: UnboundedSender<String>
Direct pipe sender
Auto Trait Implementations§
impl<'a> Freeze for RequestContext<'a>
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§
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