Struct tor_cell::relaycell::RelayCmd[][src]

pub struct RelayCmd(_);
Expand description

A command that identifies the type of a relay cell

Implementations

Start a new stream

Data on a stream

Close a stream

Acknowledge a BEGIN; stream is open

Used for flow control

Extend a circuit to a new hop; deprecated

Reply to EXTEND handshake; deprecated

Partially close a circuit

Circuit has been partially closed

Padding cell

Start a DNS lookup

Reply to a DNS lookup

Start a directory stream

Extend a circuit to a new hop

Reply to an EXTEND2 cell.

HS: establish an introduction point.

HS: establish a rendezvous point.

HS: send introduction (client to introduction point)

HS: send introduction (introduction point to service)

HS: connect rendezvous point (service to rendezvous point)

HS: connect rendezvous point (rendezvous point to client)

HS: Response to ESTABLISH_INTRO

HS: Response to ESTABLISH_RENDEZVOUS

HS: Response to INTRODUCE1 from introduction point to client

Padding: declare what kind of padding we want

Padding: reply to a PADDING_NEGOTIATE

Return true if this value is one that we recognize.

Try to convert this value from one of the recognized names.

Return true if this command is one that accepts the particular stream ID id

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.