Method lrs::user::Information::from_user_id_with_pool

Retrieves user info of the user with a certain id.

Syntax

impl<H> Information<H>
    where H: Allocator,
          <H as Allocator>::Pool: Copy,
{
    fn from_user_id_with_pool(id: u32, pool: <H as Allocator>::Pool) -> Result<Information<H>, Errno>
}

Arguments

NameDescription
id

The id of the user.

pool

The pool in which the information will be stored.