Function lrs::user::iter_buf

Returns an non-allocating iterator over the users in /etc/passwd.

Syntax

fn iter_buf(error: Option<&'a mut Result<(), Errno>>) -> InfoIter<'a>

Arguments

NameDescription
error

An optional parameter in which errors that occur during the iteration will be stored.

Remarks

If the error value was supplied, it should be inspected after the end of the loop.