Finds the first user that satisfies the predicate.
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,
}| Name | Description |
|---|---|
| pred | The predicate. |
| pool | The pool in which the information will be stored. |