pub enum HsAuth {
NoAuth,
BasicAuth,
StealthAuth,
Unknown,
}Expand description
Type of authentication for a HS_DESC event.
§Example
use stem_rs::HsAuth;
let auth = HsAuth::NoAuth;
println!("HS auth: {}", auth); // Prints "NO_AUTH"Variants§
NoAuth
No authentication required.
BasicAuth
General hidden service authentication.
StealthAuth
Authentication that hides service activity from unauthorized clients.
Unknown
Unrecognized method of authentication.
Trait Implementations§
impl Copy for HsAuth
impl Eq for HsAuth
impl StructuralPartialEq for HsAuth
Auto Trait Implementations§
impl Freeze for HsAuth
impl RefUnwindSafe for HsAuth
impl Send for HsAuth
impl Sync for HsAuth
impl Unpin for HsAuth
impl UnwindSafe for HsAuth
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