Skip to content

pw: Take `FnMut` instead of `Fn` in steam callbacks

Ian Douglas Scott requested to merge ids1024/pipewire-rs:fnmut into main

This is more general than Fn, and allows the use of mutable state in callbacks.

There should be no safety concern here if we have an exclusive &mut ListenerLocalCallbacks<D> reference already. Unless there's already an issue.

Merge request reports