Method lrs::user::Info::from_user_name

Retrieves user info of the user with a certain name.

Syntax

impl<'a> Info<'a> {
    fn from_user_name<S>(buf: &'a mut [u8], name: S) -> Result<Info<'a>, Errno>
        where S: AsByteStr,
}

Arguments

NameDescription
buf

The buffer in which the information will be stored.

name

The name of the user.