Finds the first user that satisfies the predicate.
impl<H> Information<H>
where H: Allocator,
<H as Allocator>::Pool: Default,
<H as Allocator>::Pool: Copy,
{
fn find_by<F>(pred: F) -> Result<Information<H>, Errno>
where F: Fn(&Info) -> bool,
}| Name | Description |
|---|---|
| pred | The predicate. |