mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
qemu-display: some extra derive
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
fd67aa0277
commit
4395b41fd7
@ -86,7 +86,7 @@ impl<H: ClipboardHandler> ClipboardListener<H> {
|
||||
}
|
||||
|
||||
#[derive(derivative::Derivative)]
|
||||
#[derivative(Debug)]
|
||||
#[derivative(Clone, Debug)]
|
||||
pub struct Clipboard {
|
||||
#[derivative(Debug = "ignore")]
|
||||
pub proxy: ClipboardProxy<'static>,
|
||||
|
@ -104,6 +104,7 @@ impl Console {
|
||||
Ok(self.proxy.height().await?)
|
||||
}
|
||||
|
||||
#[tracing::instrument(skip(self, handler))]
|
||||
pub async fn register_listener<H: ConsoleListenerHandler>(&self, handler: H) -> Result<()> {
|
||||
let (p0, p1) = UnixStream::pair()?;
|
||||
let p0 = util::prepare_uds_pass(
|
||||
|
Loading…
Reference in New Issue
Block a user