pub enum TimeoutSetType {
Computed,
Reset,
Suspended,
Discard,
Resume,
}Expand description
Way in which the timeout value of a circuit is changing.
§Example
use stem_rs::TimeoutSetType;
let timeout_type = TimeoutSetType::Computed;
println!("Timeout type: {}", timeout_type); // Prints "COMPUTED"Variants§
Computed
Tor has computed a new timeout based on prior circuits.
Reset
Timeout reverted to its default.
Suspended
Timeout reverted to default until network connectivity recovers.
Discard
Throwing out timeout value from when the network was down.
Resume
Resumed calculations to determine the proper timeout.
Trait Implementations§
Source§impl Clone for TimeoutSetType
impl Clone for TimeoutSetType
Source§fn clone(&self) -> TimeoutSetType
fn clone(&self) -> TimeoutSetType
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 TimeoutSetType
impl Debug for TimeoutSetType
Source§impl Display for TimeoutSetType
impl Display for TimeoutSetType
Source§impl Hash for TimeoutSetType
impl Hash for TimeoutSetType
Source§impl PartialEq for TimeoutSetType
impl PartialEq for TimeoutSetType
impl Copy for TimeoutSetType
impl Eq for TimeoutSetType
impl StructuralPartialEq for TimeoutSetType
Auto Trait Implementations§
impl Freeze for TimeoutSetType
impl RefUnwindSafe for TimeoutSetType
impl Send for TimeoutSetType
impl Sync for TimeoutSetType
impl Unpin for TimeoutSetType
impl UnwindSafe for TimeoutSetType
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