circmgr: Now that Action is public, clean it up a little.
This commit is contained in:
parent
2b0d04a5fe
commit
dcb3b06a95
|
@ -75,17 +75,16 @@ pub enum Action {
|
||||||
length: usize,
|
length: usize,
|
||||||
},
|
},
|
||||||
/// Extend a given circuit from one length to another.
|
/// Extend a given circuit from one length to another.
|
||||||
#[allow(dead_code)]
|
|
||||||
ExtendCircuit {
|
ExtendCircuit {
|
||||||
/// The current length of the circuit.
|
/// The current length of the circuit.
|
||||||
initial_length: usize,
|
initial_length: usize,
|
||||||
/// The new length of the circuit.
|
/// The new length of the circuit.
|
||||||
///
|
///
|
||||||
/// (Must be greater than `initial_length`.)
|
/// (Should typically be greater than `initial_length`; otherwise we
|
||||||
|
/// estimate a zero timeout.)
|
||||||
final_length: usize,
|
final_length: usize,
|
||||||
},
|
},
|
||||||
/// Send a message to the last hop of a circuit and receive a response
|
/// Send a message to the last hop of a circuit and receive a response
|
||||||
#[allow(dead_code)]
|
|
||||||
RoundTrip {
|
RoundTrip {
|
||||||
/// The length of the circuit.
|
/// The length of the circuit.
|
||||||
length: usize,
|
length: usize,
|
||||||
|
|
Loading…
Reference in New Issue