async fn on_init<'a>(
        &'a mut self,
        database: &'a str,
        writter: InitWriter<'a, W>,
    ) -> Result<(), Self::Error> {
        debug!("on_init: {}", database);

        self.state.set_database(Some(database.to_string()));

        writter.ok()?;

        Ok(())
    }
/// Called when client switches database: USE `db`;
Called when client switches database: USE `db`.
Called when client switches database : USE ` db ` .
async fn on_init<'a>(
        &'a mut self,
        database: &'a str,
        writter: InitWriter<'a, W>,
    ) -> Result<(), Self::Error> {
        debug!("on_init: {}", database);
        self.state.set_database(Some(database.to_string()));
        writter.ok()?;
        Ok(())
    }
async fn on_init < ' a > ( & ' a mut self , database : & ' a str , writter : InitWriter < ' a , W > , ) -> Result < ( ) , Self :: Error > { debug ! ( " " database ) ; self . state . set_database ( Some ( database . to_string ( ) ) ) ; writter . ok ( ) ? ; Ok ( ( ) ) }
Called when client switches database: USE `db`;
Called when client switches database : USE ` db ` ;
&'a mut self
database
&'a str
writter
InitWriter<'a, W>
&'a mut self
database
&'a str
writter
InitWriter<'a, W>