Skip to main content

SessionBuilderExt

Trait SessionBuilderExt 

Source
pub trait SessionBuilderExt {
    // Required method
    fn build(self) -> Result<Session, Error>;
}
Expand description

SessionBuilder’s build over the production adapters.

Required Methods§

Source

fn build(self) -> Result<Session, Error>

Builds the session, with reqwest for an unset backend and tokio’s clock for an unset clock. SessionBuilder::build_with over SystemAdapters.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§