pub enum HiddenServiceState {
HsciConnecting,
HsciIntroSent,
HsciDone,
HscrConnecting,
HscrEstablishedIdle,
HscrEstablishedWaiting,
HscrJoined,
HssiConnecting,
HssiEstablished,
HssrConnecting,
HssrJoined,
}Expand description
State of a hidden service circuit.
These states track the progress of hidden service connections. Introduced in Tor version 0.2.3.11.
§State Prefixes
HSCI_*- Client-side introduction pointHSCR_*- Client-side rendezvous pointHSSI_*- Service-side introduction pointHSSR_*- Service-side rendezvous point
§Example
use stem_rs::HiddenServiceState;
let state = HiddenServiceState::HscrJoined;
println!("HS state: {}", state); // Prints "HSCR_JOINED"Variants§
HsciConnecting
Client connecting to the introduction point.
HsciIntroSent
Client sent INTRODUCE1 and awaiting reply.
HsciDone
Client received reply, circuit is closing.
HscrConnecting
Client connecting to rendezvous point.
HscrEstablishedIdle
Rendezvous point established, awaiting introduction.
HscrEstablishedWaiting
Introduction received, awaiting rendezvous.
HscrJoined
Client connected to the hidden service.
HssiConnecting
Service connecting to introduction point.
HssiEstablished
Service established introduction point.
HssrConnecting
Service connecting to rendezvous point.
HssrJoined
Service connected to rendezvous point.
Trait Implementations§
Source§impl Clone for HiddenServiceState
impl Clone for HiddenServiceState
Source§fn clone(&self) -> HiddenServiceState
fn clone(&self) -> HiddenServiceState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HiddenServiceState
impl Debug for HiddenServiceState
Source§impl Display for HiddenServiceState
impl Display for HiddenServiceState
Source§impl Hash for HiddenServiceState
impl Hash for HiddenServiceState
Source§impl PartialEq for HiddenServiceState
impl PartialEq for HiddenServiceState
impl Copy for HiddenServiceState
impl Eq for HiddenServiceState
impl StructuralPartialEq for HiddenServiceState
Auto Trait Implementations§
impl Freeze for HiddenServiceState
impl RefUnwindSafe for HiddenServiceState
impl Send for HiddenServiceState
impl Sync for HiddenServiceState
impl Unpin for HiddenServiceState
impl UnwindSafe for HiddenServiceState
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