Skip to content

Commit

Permalink
add Clone trait to MediaServerClient and MediaRendererClient
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 19, 2023
1 parent 5c3e13d commit 4d23e84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/media_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pub enum MediaEvents {
SpeedChanged,
}

#[derive(Clone)]
pub struct MediaRendererClient {
device_client: DeviceClient,
}
Expand Down
2 changes: 2 additions & 0 deletions src/media_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use crate::{
types::{Container, Item},
};
use anyhow::Error;

#[derive(Clone)]
pub struct MediaServerClient {
device_client: DeviceClient,
}
Expand Down

0 comments on commit 4d23e84

Please sign in to comment.