Skip to main content Crate typedb_driver Copy item path Source pub use self::transaction::Transaction ;answer concept error info logic transaction promisify resolve Connection A connection to a TypeDB server which serves as the starting point for all interaction. Credential User credentials and TLS encryption settings for connecting to TypeDB Cloud. Database A TypeDB database DatabaseManager Provides access to all database management methods. Options TypeDB session and transaction options.
TypeDBOptions object can be used to override the default server behaviour.
Options are specified using properties assignment. Session A session with a TypeDB database. User User information UserManager Provides access to all user management methods. Error Represents errors encountered during operation. SessionType This enum is used to specify the type of the session. TransactionType This enum is used to specify the type of transaction. Promise Async promise, an alias for Rust’s built-in Future.
A BoxPromise is an alias for Rust’s built-in BoxFuture. box_stream BoxPromise An owned dynamically typed Future for use in cases where you can’t
statically type your result or need to add some indirection. BoxStream An owned dynamically typed Stream for use in cases where you can’t
statically type your result or need to add some indirection. IID Result