pub struct QueryResponse {
pub next_slot: u64,
pub rollback_guard: Option<RollbackGuard>,
pub data: ArrowResponseData,
pub response_bytes: usize,
}Expand description
Response from a single query to the HyperSync server.
Fields§
§next_slot: u64The next slot to query from (for pagination).
rollback_guard: Option<RollbackGuard>Reorg guard describing the server’s in-memory head window, when the server has one to report.
data: ArrowResponseDataNamed Arrow tables (e.g. “blocks”, “transactions”, “instruction_calls”).
response_bytes: usizeNumber of bytes in the raw response (for adaptive batch sizing).
Auto Trait Implementations§
impl !RefUnwindSafe for QueryResponse
impl !UnwindSafe for QueryResponse
impl Freeze for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl UnsafeUnpin for QueryResponse
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