Method lrs::user::Information::from_user_name_with_pool

Retrieves user info of the user with a certain name.

Syntax

impl<H> Information<H>
    where H: Allocator,
          <H as Allocator>::Pool: Copy,
{
    fn from_user_name_with_pool<S>(name: S, pool: <H as Allocator>::Pool) -> Result<Information<H>, Errno>
        where S: AsByteStr,
}

Arguments

NameDescription
name

The name of the user.

pool

The pool in which the information will be stored.