pub struct UnixSockClient;
Available on crate feature
unix-sock-client
only.Expand description
A client that creates a direct bidirectional channel (TCP tunnel) to a Unix socket.
This client is designed for scenarios where a raw data stream is established between the client and the upstream service via a Unix socket. It works by “hijacking” the client connection and forwarding all data at the transport layer.
Trait Implementations§
Source§impl Client for UnixSockClient
impl Client for UnixSockClient
Source§impl Clone for UnixSockClient
impl Clone for UnixSockClient
Source§fn clone(&self) -> UnixSockClient
fn clone(&self) -> UnixSockClient
Returns a duplicate 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 moreSource§impl Debug for UnixSockClient
impl Debug for UnixSockClient
Source§impl Default for UnixSockClient
impl Default for UnixSockClient
Source§fn default() -> UnixSockClient
fn default() -> UnixSockClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnixSockClient
impl RefUnwindSafe for UnixSockClient
impl Send for UnixSockClient
impl Sync for UnixSockClient
impl Unpin for UnixSockClient
impl UnwindSafe for UnixSockClient
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