Finds the first group that satisfies a predicate.
impl<'a> Info<'a> {
fn find_by<F>(buf: &'a mut [u8], pred: F) -> Result<Info<'a>, Errno>
where F: Fn(&Info) -> bool,
}| Name | Description |
|---|---|
| buf | The buffer in which the information will be stored. |
| pred | The predicate. |