pub struct Socks4Detector;Expand description
Detector for SOCKS4/4a protocol.
SOCKS4 requests always start with version byte 0x04.
Trait Implementations§
Source§impl ProtocolDetector for Socks4Detector
impl ProtocolDetector for Socks4Detector
Source§fn id(&self) -> ProtocolId
fn id(&self) -> ProtocolId
Returns the unique identifier for the protocol this detector handles.
Auto Trait Implementations§
impl Freeze for Socks4Detector
impl RefUnwindSafe for Socks4Detector
impl Send for Socks4Detector
impl Sync for Socks4Detector
impl Unpin for Socks4Detector
impl UnsafeUnpin for Socks4Detector
impl UnwindSafe for Socks4Detector
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