Documentation

This commit is contained in:
Steven Fackler
2016-12-26 16:21:20 -05:00
parent ba1d9d1f01
commit 2dc80bec2e
11 changed files with 146 additions and 26 deletions

View File

@@ -15,6 +15,15 @@ pub mod error;
pub mod params;
pub mod types;
/// Contains information necessary to cancel queries for a session.
#[derive(Copy, Clone, Debug)]
pub struct CancelData {
/// The process ID of the session.
pub process_id: i32,
/// The secret key for the session.
pub secret_key: i32,
}
pub struct RowData {
buf: Vec<u8>,
indices: Vec<Option<Range<usize>>>,