1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Start user WebSocket implementation

This commit is contained in:
2021-02-05 13:21:10 +01:00
parent 82b845c603
commit 5254524c50
12 changed files with 972 additions and 125 deletions

View File

@@ -12,6 +12,7 @@ use serde::export::Formatter;
/// Simple result type
pub type ResultExecError<E> = Result<E, ExecError>;
pub type ResultBoxError<E = ()> = Result<E, Box<dyn Error>>;
pub type Res<E = ()> = ResultBoxError<E>;
#[derive(Debug, Clone)]
pub struct ExecError(pub String);