pub enum Proxy {
Shadowsocks {
server: Arc<str>,
port: u16,
password: Arc<str>,
cipher: Arc<str>,
},
}Expand description
A proxy configuration.
Variants§
Shadowsocks
Shadowsocks 2017 or 2022.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnsafeUnpin for Proxy
impl UnwindSafe for Proxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more