Basic errors
This commit is contained in:
16
src/main.rs
16
src/main.rs
@ -1,15 +1,17 @@
|
||||
use std::net::{SocketAddr, TcpListener, UdpSocket};
|
||||
use std::sync::Arc;
|
||||
use std::sync::Mutex;
|
||||
use std::thread;
|
||||
|
||||
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
||||
use threadpool::ThreadPool;
|
||||
|
||||
mod database;
|
||||
mod http;
|
||||
mod udp;
|
||||
mod usimp;
|
||||
mod websocket;
|
||||
|
||||
use openssl::ssl::{SslAcceptor, SslFiletype, SslMethod};
|
||||
use std::net::{SocketAddr, TcpListener, UdpSocket};
|
||||
use std::sync::Arc;
|
||||
use std::sync::Mutex;
|
||||
use std::thread;
|
||||
use threadpool::ThreadPool;
|
||||
mod error;
|
||||
|
||||
enum SocketType {
|
||||
Http,
|
||||
|
Reference in New Issue
Block a user