rust-nex/rnex-core/src/nex/remote_console.rs

21 lines
656 B
Rust
Raw Normal View History

2025-06-29 11:40:42 +02:00
use crate::rmc::protocols::notifications::{Notification, RawNotification, RawNotificationInfo, RemoteNotification};
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,
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);
}
}*/