Skip to main content

AuthEngine

Trait AuthEngine 

Source
pub trait AuthEngine: Send + Sync {
    // Required methods
    fn begin_admin(&self) -> Result<AdminTransaction, Error>;
    fn begin_query(&self) -> Result<QueryTransaction, Error>;
    fn catalog(&self) -> Catalog;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§