pub struct ProtocolInfo {
pub auth_methods: Vec<String>,
pub cookie_file: Option<String>,
pub tor_version: String,
}
Expand description
ProtocolInfo struct, contains information from the response to the PROTOCOLINFO command
Fields§
§auth_methods: Vec<String>
§tor_version: String
Trait Implementations§
Source§impl Clone for ProtocolInfo
impl Clone for ProtocolInfo
Source§fn clone(&self) -> ProtocolInfo
fn clone(&self) -> ProtocolInfo
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ProtocolInfo
impl RefUnwindSafe for ProtocolInfo
impl Send for ProtocolInfo
impl Sync for ProtocolInfo
impl Unpin for ProtocolInfo
impl UnwindSafe for ProtocolInfo
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