UnixSocket

Trait UnixSocket 

Source
pub trait UnixSocket: AsFd { }
Expand description

Trait for Unix Domain Sockets.

Implementing this trait signals that the type is a Unix Domain Socket (UDS) where credentials fetching through a file descriptor will work correctly. FetchPeerCredentials is implemented for all types that implement this trait.

Implementorsยง