mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-02-16 02:20:43 +00:00
make compiler happy
This commit is contained in:
@@ -13,8 +13,32 @@ pub struct WebRTCStream {
|
|||||||
// mock struct
|
// mock struct
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Clone for WebRTCStream {
|
||||||
|
fn clone(&self) -> Self {
|
||||||
|
WebRTCStream {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl WebRTCStream {
|
impl WebRTCStream {
|
||||||
|
|
||||||
|
pub async fn new(
|
||||||
|
_: &str,
|
||||||
|
_: u64,
|
||||||
|
) -> ResultType<Self> {
|
||||||
|
Ok(Self {})
|
||||||
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
|
pub async fn get_local_endpoint(&self) -> ResultType<String> {
|
||||||
|
Ok(String::new())
|
||||||
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
|
pub async fn set_remote_endpoint(&self, _: &str) -> ResultType<()> {
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn set_raw(&mut self) {
|
pub fn set_raw(&mut self) {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user