pub struct DistantCtx {
pub connection_id: ConnectionId,
pub reply: Box<dyn Reply<Data = Response>>,
}Expand description
Represents the context provided to the DistantApi for incoming requests
Fields§
§connection_id: ConnectionId§reply: Box<dyn Reply<Data = Response>>Auto Trait Implementations§
impl Freeze for DistantCtx
impl !RefUnwindSafe for DistantCtx
impl Send for DistantCtx
impl Sync for DistantCtx
impl Unpin for DistantCtx
impl UnsafeUnpin for DistantCtx
impl !UnwindSafe for DistantCtx
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