pub struct ProtocolInfoResponse {
pub protocol_version: u32,
pub tor_version: Option<Version>,
pub auth_methods: Vec<AuthMethod>,
pub unknown_auth_methods: Vec<String>,
pub cookie_path: Option<String>,
}Fields§
§protocol_version: u32§tor_version: Option<Version>§auth_methods: Vec<AuthMethod>§unknown_auth_methods: Vec<String>Implementations§
Source§impl ProtocolInfoResponse
impl ProtocolInfoResponse
pub fn parse(message: &ControlMessage) -> Result<Self>
Trait Implementations§
Source§impl Clone for ProtocolInfoResponse
impl Clone for ProtocolInfoResponse
Source§impl Debug for ProtocolInfoResponse
impl Debug for ProtocolInfoResponse
Auto Trait Implementations§
impl Freeze for ProtocolInfoResponse
impl RefUnwindSafe for ProtocolInfoResponse
impl Send for ProtocolInfoResponse
impl Sync for ProtocolInfoResponse
impl Unpin for ProtocolInfoResponse
impl UnsafeUnpin for ProtocolInfoResponse
impl UnwindSafe for ProtocolInfoResponse
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