pub struct QueryState {
pub query_id: String,
pub stage: Stage,
pub compression: u64,
pub query: String,
pub is_cancelled: bool,
pub is_connection_closed: bool,
pub is_empty: bool,
pub sent_all_data: Arc<Notify>,
pub out: Option<Sender<Block>>,
}
Fields§
§query_id: String
§stage: Stage
§compression: u64
§query: String
§is_cancelled: bool
§is_connection_closed: bool
§is_empty: bool
empty or not
sent_all_data: Arc<Notify>
Data was sent.
out: Option<Sender<Block>>
Trait Implementations§
Source§impl Default for QueryState
impl Default for QueryState
Source§fn default() -> QueryState
fn default() -> QueryState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QueryState
impl !RefUnwindSafe for QueryState
impl Send for QueryState
impl Sync for QueryState
impl Unpin for QueryState
impl !UnwindSafe for QueryState
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