pub trait SessionFactory {
type Session: Session;
// Required method
fn build_session(&self) -> Self::Session;
}Expand description
Describes types that can produce Sessions
Required Associated Types§
Required Methods§
Sourcefn build_session(&self) -> Self::Session
fn build_session(&self) -> Self::Session
Produce the session