Method lrs::user::Information::from_user_name

Retrieves user info of the user with a certain name.

Syntax

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

Arguments

NameDescription
name

The name of the user.