pub fn create_user<N, P, E>(&self, username: N, password: P) -> Result<User<E>>
    where
        N: Into<String>,
        P: Into<String>,
        E: 'static + UserExtra + Serialize + DeserializeOwned,
    {
        self.execute(CreateUser::new(NewUser::with_name(username, password)))
    }
/// Creates a new user with default options.
///
/// The created user will not have access to any database until database
/// access privileges are explicitly granted to it.
///
/// The user set in the `Connector` must have permission to write to the
/// system database in order to execute this method.
Creates a new user with default options.
The created user will not have access to any database until database
access privileges are explicitly granted to it.

The user set in the `Connector` must have permission to write to the
system database in order to execute this method.
Creates a new user with default options . The created user will not have access to any database until database access privileges are explicitly granted to it . The user set in the ` Connector ` must have permission to write to the system database in order to execute this method .
pub fn create_user<N, P, E>(&self, username: N, password: P) -> Result<User<E>>
    where
        N: Into<String>,
        P: Into<String>,
        E: 'static + UserExtra + Serialize + DeserializeOwned,
    {
        self.execute(CreateUser::new(NewUser::with_name(username, password)))
    }
pub fn create_user < N , P , E > ( & self , username : N , password : P ) -> Result < User < E > > where N : Into < String > , P : Into < String > , E : ' static + UserExtra + Serialize + DeserializeOwned , { self . execute ( CreateUser :: new ( NewUser :: with_name ( username , password ) ) ) }
Creates a new user with default options.
Creates a new user with default options .
&self
username
N
password
P
&self
username
N
password
P