pub trait RBatisRef: Send + Sync { // Required method fn rb_ref(&self) -> &RBatis; // Provided method fn driver_type(&self) -> Result<&str> { ... } }