Skip to main content

Module server

Module server 

Source
Expand description

Server operations for working with connect points.

Re-exportsΒ§

use std::io; πŸ”’
use std::path::PathBuf; πŸ”’
use std::sync::Arc; πŸ”’
use crate::ConnectError; πŸ”’
use crate::ResolvedConnectPoint; πŸ”’
use crate::auth::RpcAuth; πŸ”’
use crate::auth::RpcCookieSource; πŸ”’
use crate::auth::cookie::Cookie; πŸ”’
use crate::connpt::AddressFile; πŸ”’
use crate::connpt::ConnectAddress; πŸ”’
use fs_mistrust::Mistrust; πŸ”’
use tor_general_addr::general; πŸ”’
use tor_rtcompat::NetStreamProvider; πŸ”’

StructsΒ§

Listener
A listener and associated authentication at which an RPC server can watch for connections.
ListenerGuard
An object to control shutdown for a listener. We should drop it only when we’re no longer listening on the socket.
UnlinkOnDrop πŸ”’
Object that unlinks a file when it is dropped.