pub struct Route {
pub request: RequestData,
pub response: Sender<Result<Vec<QueryResult>, Error>>,
}Expand description
A request paired with the channel its response must be sent on.
Fields§
§request: RequestDataThe request to execute.
response: Sender<Result<Vec<QueryResult>, Error>>Where the engine sends the outcome. Exactly one message is expected.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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