mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-08 15:18:13 +03:00
Fix capture method return type in Recorder trait (#14748)
This commit is contained in:
@@ -24,7 +24,7 @@ impl<'a> PixelProvider<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub trait Recorder {
|
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 {
|
pub trait BoxCloneCapturable {
|
||||||
|
|||||||
Reference in New Issue
Block a user