Method lrs::user::Information::find_by_with_pool

Finds the first user that satisfies the predicate.

Syntax

impl<H> Information<H>
    where H: Allocator,
          <H as Allocator>::Pool: Copy,
{
    fn find_by_with_pool<F>(pred: F, pool: <H as Allocator>::Pool) -> Result<Information<H>, Errno>
        where F: Fn(&Info) -> bool,
}

Arguments

NameDescription
pred

The predicate.

pool

The pool in which the information will be stored.