Struct shadowsocks_service::local::socks::server::SocksTcpServer
source · pub struct SocksTcpServer { /* private fields */ }
Expand description
SOCKS TCP server instance
Implementations§
source§impl SocksTcpServer
impl SocksTcpServer
sourcepub fn local_addr(&self) -> Result<SocketAddr>
pub fn local_addr(&self) -> Result<SocketAddr>
Get TCP server local addr
Auto Trait Implementations§
impl !Freeze for SocksTcpServer
impl !RefUnwindSafe for SocksTcpServer
impl Send for SocksTcpServer
impl Sync for SocksTcpServer
impl Unpin for SocksTcpServer
impl !UnwindSafe for SocksTcpServer
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