Struct psrt::ServerClientDB [−][src]
pub struct ServerClientDB { /* fields omitted */ }Implementations
pub async fn register_data_channel(
&mut self,
token: &Token,
channel: Sender<Arc<MessageFrame>>
) -> Result<(Sender<Arc<MessageFrame>>, ServerClient), Error>
pub async fn register_data_channel(
&mut self,
token: &Token,
channel: Sender<Arc<MessageFrame>>
) -> Result<(Sender<Arc<MessageFrame>>, ServerClient), Error>
Errors
Will return Err if the token is not registered
Errors
With return Err if the topic is invalid
Errors
With return Err if the topic is invalid