diff options
Diffstat (limited to 'client-native-lib/src/lib.rs')
-rw-r--r-- | client-native-lib/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client-native-lib/src/lib.rs b/client-native-lib/src/lib.rs index 7a0d0d0..a10a20a 100644 --- a/client-native-lib/src/lib.rs +++ b/client-native-lib/src/lib.rs @@ -47,12 +47,10 @@ pub(crate) fn build_api() -> webrtc::api::API { } pub type DynFut<T> = Pin<Box<dyn Future<Output = T> + Send>>; - pub trait LocalResource: Send + Sync + 'static { fn info(&self) -> ProvideInfo; fn on_request(&self, peer: Arc<Peer>) -> DynFut<()>; } - pub trait EventHandler: Send + Sync + 'static { fn peer_join(&self, peer: Arc<Peer>) -> DynFut<()>; fn peer_leave(&self, peer: Arc<Peer>) -> DynFut<()>; |