1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
use crate::proxy::Proxy;

pub struct Communicator {

}

impl Communicator {
    pub fn string_to_proxy(&self, proxy_string: &str) -> Result<Proxy, Box<dyn std::error::Error>> {
        Proxy::new(proxy_string)
    }
}