pub struct Matcher {
pub id: Uuid,
pub hash: String,
pub query: Stmt,
pub cached_statements: HashMap<String, MatcherStmt>,
pub pks: IndexMap<String, Vec<String>>,
pub parsed: ParsedSelect,
pub evt_tx: Sender<QueryEvent>,
pub col_names: Vec<ColumnName>,
pub last_rowid: u64,
/* private fields */
}Fields§
§id: Uuid§hash: String§query: Stmt§cached_statements: HashMap<String, MatcherStmt>§pks: IndexMap<String, Vec<String>>§parsed: ParsedSelect§evt_tx: Sender<QueryEvent>§col_names: Vec<ColumnName>§last_rowid: u64Implementations§
Source§impl Matcher
impl Matcher
pub fn cleanup(id: Uuid, sub_path: Utf8PathBuf) -> Result<()>
pub fn sub_path(subs_path: &Utf8Path, id: Uuid) -> Utf8PathBuf
pub fn sub_db_path(subs_path: &Utf8Path, id: Uuid) -> Utf8PathBuf
pub fn restore( id: Uuid, subs_path: Utf8PathBuf, schema: &Schema, state_conn: CrConn, evt_tx: Sender<QueryEvent>, tripwire: Tripwire, ) -> Result<MatcherHandle, MatcherError>
pub fn create( id: Uuid, subs_path: Utf8PathBuf, schema: &Schema, state_conn: CrConn, evt_tx: Sender<QueryEvent>, sql: &str, tripwire: Tripwire, ) -> Result<MatcherHandle, MatcherError>
Auto Trait Implementations§
impl !Freeze for Matcher
impl !RefUnwindSafe for Matcher
impl !Sync for Matcher
impl !UnwindSafe for Matcher
impl Send for Matcher
impl Unpin for Matcher
impl UnsafeUnpin for Matcher
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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