pub enum GuardType {
Entry,
}Expand description
Type of guard relay usage.
§Example
use stem_rs::GuardType;
let guard_type = GuardType::Entry;
println!("Guard type: {}", guard_type); // Prints "ENTRY"Variants§
Entry
Used to connect to the Tor network (entry guard).
Trait Implementations§
impl Copy for GuardType
impl Eq for GuardType
impl StructuralPartialEq for GuardType
Auto Trait Implementations§
impl Freeze for GuardType
impl RefUnwindSafe for GuardType
impl Send for GuardType
impl Sync for GuardType
impl Unpin for GuardType
impl UnwindSafe for GuardType
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