mirror of
https://github.com/rustdesk/rustdesk
synced 2026-04-21 13:27:19 +00:00
Fix capture method return type in Recorder trait (#14748)
This commit is contained in:
parent
771cb4ebd7
commit
a8dc6fc632
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ impl<'a> PixelProvider<'a> {
|
|||
}
|
||||
|
||||
pub trait Recorder {
|
||||
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider, Box<dyn Error>>;
|
||||
fn capture(&mut self, timeout_ms: u64) -> Result<PixelProvider<'_>, Box<dyn Error>>;
|
||||
}
|
||||
|
||||
pub trait BoxCloneCapturable {
|
||||
|
|
|
|||
Loading…
Reference in a new issue