pub enum CircEvent {
PurposeChanged,
Cannibalized,
}Expand description
Type of change reflected in a circuit by a CIRC_MINOR event.
These events indicate minor changes to circuits that don’t affect their overall status.
§Example
use stem_rs::CircEvent;
let event = CircEvent::PurposeChanged;
println!("Circuit event: {}", event); // Prints "PURPOSE_CHANGED"Variants§
PurposeChanged
Circuit purpose or hidden service state has changed.
The circuit’s intended use has been modified.
Cannibalized
Circuit connections are being reused for a different circuit.
An existing circuit is being repurposed.
Trait Implementations§
impl Copy for CircEvent
impl Eq for CircEvent
impl StructuralPartialEq for CircEvent
Auto Trait Implementations§
impl Freeze for CircEvent
impl RefUnwindSafe for CircEvent
impl Send for CircEvent
impl Sync for CircEvent
impl Unpin for CircEvent
impl UnwindSafe for CircEvent
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