Method lrs::user::Information::from_user_id

Retrieves user info of the user with a certain id.

Syntax

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

Arguments

NameDescription
id

The id of the user.