pub trait SessionTrait: Sized + Clone {
// Required methods
fn get_async_session(&self) -> &SessionAsync;
fn get_socket_pool(&self) -> &HGTPPool;
}Required Methods§
fn get_async_session(&self) -> &SessionAsync
fn get_socket_pool(&self) -> &HGTPPool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.