2025-06-29 11:40:42 +02:00
|
|
|
use crate::rmc::protocols::notifications::{Notification, RawNotification, RawNotificationInfo, RemoteNotification};
|
2025-05-15 17:00:26 +02:00
|
|
|
use crate::rmc::protocols::nat_traversal::{NatTraversalConsole, RemoteNatTraversalConsole, RawNatTraversalConsoleInfo, RawNatTraversalConsole};
|
2025-05-12 10:28:54 +02:00
|
|
|
use crate::define_rmc_proto;
|
|
|
|
|
|
|
|
|
|
define_rmc_proto!(
|
|
|
|
|
proto Console{
|
|
|
|
|
Notification,
|
2025-05-15 17:00:26 +02:00
|
|
|
NatTraversalConsole
|
2025-05-12 10:28:54 +02:00
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
/*
|
|
|
|
|
#[rmc_struct(Console)]
|
|
|
|
|
pub struct TestRemoteConsole{
|
|
|
|
|
pub remote: RemoteUserProtocol,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl Notification for TestRemoteConsole{
|
|
|
|
|
async fn process_notification_event(&self, event: NotificationEvent) {
|
|
|
|
|
println!("NOTIF RECIEVED: {:?}", event);
|
|
|
|
|
}
|
|
|
|
|
}*/
|