gst-plugins-rs/generic/threadshare/tests
François Laignel 2bffdec691 ts: better use of imp & elem args in Pad{Sink,Src}Handlers
This is a follow-up to commit 7ee4afac.

This commit cleans up the `Pad{Sink,Src}Handler` by

- Keeping arguments which are strictly necessary.
- Passing arguments by value for the trait functions which return
  a `Future`. The arguments which were previously passed by reference
  were `clone`d internally and then `clone`d again in most
  implementations.

There are unfortunate differences in trait function signatures
between those which return a `Future` and the sync functions. This
is due to the requirement for the arguments to be moved to the
resulting `Future`, whereas sync functions can rely on references.
One particular notable difference is the use of the `imp` in sync
functions instead of the `elem` in functions returning a `Future`.
Because the `imp` is not guaranteed to implement `Clone`, we can't
move it to the resulting `Future`, so the `elem` is used.
2022-10-12 12:35:20 +02:00
..
appsrc.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
inputselector.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
jitterbuffer.rs Update to gst::_log_macro_ 2022-02-21 20:50:01 +01:00
pad.rs ts: better use of imp & elem args in Pad{Sink,Src}Handlers 2022-10-12 12:35:20 +02:00
pipeline.rs threadshare: disable tests that can't work on windows 2022-09-05 11:47:20 +03:00
proxy.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
queue.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
tcpclientsrc.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
udpsink.rs Add SPDX-License-Identifier to all file headers 2022-01-15 21:18:47 +02:00
udpsrc.rs threadshare: disable tests that can't work on windows 2022-09-05 11:47:20 +03:00